summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristian Schneider2020-04-15 15:24:09 +0200
committerChristian Schneider2020-04-15 15:24:09 +0200
commit7408797b1716210ff7e1c9f18629b0e65a70f1c9 (patch)
treea52dd9c1c056d706509b13e05c9d65bb5b20a3c5 /README
parentdf4b93a72b688cbf0487558d4f67a9d8aaa754d2 (diff)
downloaditools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.tar.gz
itools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.tar.bz2
itools-7408797b1716210ff7e1c9f18629b0e65a70f1c9.zip
Increase minimal requirement to PHP 7
Diffstat (limited to 'README')
-rw-r--r--README4
1 files changed, 2 insertions, 2 deletions
diff --git a/README b/README
index e48dde4..d7fe5a9 100644
--- a/README
+++ b/README
@@ -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