Download the PHP package bmt/assoc-array without Composer
On this page you can find all versions of the php package bmt/assoc-array. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bmt/assoc-array
More information about bmt/assoc-array
Files in bmt/assoc-array
Download bmt/assoc-array
More information about bmt/assoc-array
Files in bmt/assoc-array
Vendor bmt
Package assoc-array
Short Description Represents an associative array with string keys.
License MIT
Package assoc-array
Short Description Represents an associative array with string keys.
License MIT
Please rate this library. Is it a good library?
Informations about the package assoc-array
AssocArray
AssocArray
is a class that represents an associative array with string keys.
Installation
You can install the AssocArray
class via composer:
Usage
To use the AssocArray
class, you can follow these steps:
-
Create an instance of
AssocArray
by passing an associative array with string keys: -
Access values in the associative array using array access syntax:
- Check if a specific offset exists:
Exceptions
The AssocArray
class throws the following exceptions:
InvalidArgumentException
if the array structure is invalid.RuntimeException
if you try to set or unset a value (read-only).
License
This project is licensed under the MIT License.
All versions of assoc-array with dependencies
PHP Build Version
Package Version
No informations.
The package bmt/assoc-array contains the following files
Loading the files please wait ....