Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 1fa74586870944b2c391ebccc426239fa5e429ce 1 parent 6743861
Andrey Hristov authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.PHP4-TO-PHP5-THIN-CHANGES
View
8 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
Please sign in to comment.
Something went wrong with that request. Please try again.