diff options
author | Andrey Hristov <andrey@php.net> | 2003-12-06 16:46:29 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2003-12-06 16:46:29 +0000 |
commit | 1fa74586870944b2c391ebccc426239fa5e429ce (patch) | |
tree | ea0fc1a9ab1506ef4e173e75855fad7f56b936fe /README.PHP4-TO-PHP5-THIN-CHANGES | |
parent | 6743861b0c5ec5fe88563131f7a504ed1bebe928 (diff) | |
download | php-git-1fa74586870944b2c391ebccc426239fa5e429ce.tar.gz |
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.
Diffstat (limited to 'README.PHP4-TO-PHP5-THIN-CHANGES')
-rw-r--r-- | README.PHP4-TO-PHP5-THIN-CHANGES | 8 |
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 |