diff --git a/readme.md b/readme.md index 21ed5ac..4d5135a 100644 --- a/readme.md +++ b/readme.md @@ -6,6 +6,9 @@ Are you tired from casting objects and array to each other? Ary is a light class 2. You will get `null` if an index does not exists. 3. You can specify a default value for a missing index. +* The class (`Ary()`) requires PHP 5.4 or newer. +* The helper function (`ary()`) requires PHP 5.6 or newer. + ~~~~~ // instantiation $ary = new Ary(); @@ -27,4 +30,4 @@ $ary->newItem=20; //or $ary['newItem']=20; count($ary); //returns 3 -$ary->all(); // returns simple php array; \ No newline at end of file +$ary->all(); // returns simple php array; diff --git a/src/Ary.php b/src/Ary.php index 0cadce0..90ca06b 100644 --- a/src/Ary.php +++ b/src/Ary.php @@ -1,8 +1,8 @@