diff options
-rw-r--r-- | README | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ Reference: https://itools.search.ch/(function | class | class/function) Tutorial video: https://itools.search.ch/2007-11-14-itools-demo.mov ITools is a collection of PHP functions and classes which make a few common -tasks in PHP easier. It works in PHP 5.4 and up. +tasks in PHP easier. It works in PHP 7.0 and up. Our examples omit array() around function parameters and use dangling commas. To get that, you can either use our just-in-time syntax converter or use @@ -75,7 +75,7 @@ Example: $record = new T_Customers('ID' => 'mueller'); $record->update('email' => "mueller@spam.com"); $response = "Email added for $record->name"; - # Using Iterators (PHP 5+ only): + # Using Iterators: foreach (new T_Customers as $customer) { ... } # Iterate all customers foreach (new T_Customers('age' => 42) as $customer) { ... } foreach (new T_Customers as $id => $customer) { ... } # $id = $customer->_key |