Skip to content

vishnurs/Dictionary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary

PHP Dictionary data structure

You can use the dictionary with a specific datatype like the one in c#.

Please instantiate the class with one of the following datatypes

integer, double, array, object, resource and NULL

EXAMPLE

$d = new Dictionary("integer","string");

Where integer is the datatype of the key and string is the datatype of value. If you give a wrong datatype for the key values, an exception willl be thrown.

In case if you dont need the a specific datatypes, you can still instantiate the class like this

$d = new Dictionary();

About

PHP Dictionary data structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages