summaryrefslogtreecommitdiff
path: root/README.PHP4-TO-PHP5-THIN-CHANGES
diff options
context:
space:
mode:
Diffstat (limited to 'README.PHP4-TO-PHP5-THIN-CHANGES')
-rw-r--r--README.PHP4-TO-PHP5-THIN-CHANGES8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.PHP4-TO-PHP5-THIN-CHANGES b/README.PHP4-TO-PHP5-THIN-CHANGES
new file mode 100644
index 0000000000..af50a91ea9
--- /dev/null
+++ b/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 \ No newline at end of file