Skip to content
100644 8 lines (8 sloc) 407 Bytes
1fa7458 A small start for so called "not-yet-written faq" about small changes…
Andrey Hristov authored
1 1. strr(i)pos() now uses the full needle when searching - be aware that code that previous have run now can stop working.
2 EX :
3 <?php
4 var_dump(strrpos("ABCDEF","DEF"));
5 var_dump(strrpos("ABCDEF","DAF"));
6 ?>
7 Will give you differents results. The diffence is in the second cal to strrpos(). The same applies and for strripos().
8 2. Change illegal use of string offset from E_WARNING to E_ERROR
Something went wrong with that request. Please try again.