]> granicus.if.org Git - php/commitdiff
A small start for so called "not-yet-written faq" about small changes that
authorAndrey Hristov <andrey@php.net>
Sat, 6 Dec 2003 16:46:29 +0000 (16:46 +0000)
committerAndrey Hristov <andrey@php.net>
Sat, 6 Dec 2003 16:46:29 +0000 (16:46 +0000)
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.

README.PHP4-TO-PHP5-THIN-CHANGES [new file with mode: 0644]

diff --git a/README.PHP4-TO-PHP5-THIN-CHANGES b/README.PHP4-TO-PHP5-THIN-CHANGES
new file mode 100644 (file)
index 0000000..af50a91
--- /dev/null
@@ -0,0 +1,8 @@
+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
\ No newline at end of file