cvs: php-src / README.PHP4-TO-PHP5-THIN-CHANGES
| From: | Andrey Hristov | Date: | Sat, 06 Dec 2003 16:46:29 +0000 |
| Subject: | cvs: php-src / README.PHP4-TO-PHP5-THIN-CHANGES | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-24986@lists.php.net to get a copy of this message | ||
andrey Sat Dec 6 11:46:29 2003 EDT
Added files:
/php-src README.PHP4-TO-PHP5-THIN-CHANGES
Log:
A small start for so called "not-yet-written faq" about small changes that
may make someone's life a nightmare for some time. It will be good when a
change is made a line in this file to be written and then it will be easier
for the doc team to write comprehensive and pretty FAQ for the end users.
Index: php-src/README.PHP4-TO-PHP5-THIN-CHANGES
+++ php-src/README.PHP4-TO-PHP5-THIN-CHANGES
1. strr(i)pos() now uses the full needle when searching - be aware that code that previous have run
now can stop working.
EX :
<?php
var_dump(strrpos("ABCDEF","DEF"));
var_dump(strrpos("ABCDEF","DAF"));
?>
Will give you differents results. The diffence is in the second cal to strrpos(). The same
applies and for strripos().
2. Change illegal use of string offset from E_WARNING to E_ERROR