From 90af8efd7ca2789cf8dddcd76cea8d4c88dc7770 Mon Sep 17 00:00:00 2001 From: Christian Schneider Date: Tue, 27 Oct 2009 14:35:51 +0000 Subject: Document the fact that we require PHP 5 for ITools now --- README | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README') diff --git a/README b/README index 419822f..62a2564 100644 --- a/README +++ b/README @@ -7,7 +7,7 @@ Reference: http://itools.search.ch/(function | class | class/function) Tutorial video: http://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 4 and up. +tasks in PHP easier. It works in PHP 5 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 @@ -23,8 +23,8 @@ b) auto_prepend.php is included for each directory in the include path. c) Automatic syntax conversion is enabled if you have a vanilla PHP without our syntax patch installed. NOTE: This may need manual configuration on shared hosting -d) If you run PHP 5 an autoloader for classes is installed, you don't need -to require any files (it looks for foo.class if you access class foo). +d) An autoloader for classes is installed, you don't need to require any files +it looks for foo.class if you access class foo). e) $GLOBALS['IT_HOME'] is set to one level above the DOCUMENT_ROOT in web mode, one level above the script for CLI mode: This allows access to data directories from web and CLI mode alike. @@ -196,5 +196,5 @@ Not documented yet, check the source. it_xml - XML parser ------------------- This will parse an XML string and returns a tree of PHP objects; similar to -simplexml in PHP 5 but works in PHP 4 and supports a streaming mode for huge -XML files. Not documented yet, check the source. +simplexml, supports a streaming mode for huge XML files. Not documented yet, +check the source. -- cgit v1.2.3