diff options
author | Christian Schneider | 2020-04-15 15:24:09 +0200 |
---|---|---|
committer | Christian Schneider | 2020-04-15 15:24:09 +0200 |
commit | 7408797b1716210ff7e1c9f18629b0e65a70f1c9 (patch) | |
tree | a52dd9c1c056d706509b13e05c9d65bb5b20a3c5 | |
parent | df4b93a72b688cbf0487558d4f67a9d8aaa754d2 (diff) | |
download | itools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.tar.gz itools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.tar.bz2 itools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.zip |
Increase minimal requirement to PHP 7
-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 |