mirror of
https://github.com/php/php-src.git
synced 2024-10-05 00:36:17 +00:00
11 lines
606 B
Plaintext
11 lines
606 B
Plaintext
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
|
|
3. array_merge() accepts only arrays. If non-array is passed a E_WARNING for every non-array
|
|
parameter will be throwed. Be careful because your code may start emitting E_WARNING out of the blue.
|