From 7408797b1716210ff7e1c9f18629b0e65a70f1c9 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Wed, 15 Apr 2020 15:24:09 +0200 Subject: Increase minimal requirement to PHP 7 --- README | 4 ++-- 1 file 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 -- cgit v1.2.3