Permalink
Browse files

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.
  • Loading branch information...
1 parent 6743861 commit 1fa74586870944b2c391ebccc426239fa5e429ce Andrey Hristov committed Dec 6, 2003
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.PHP4-TO-PHP5-THIN-CHANGES
@@ -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

0 comments on commit 1fa7458

Please sign in to comment.