strr(i)pos() now searches the full needle inside the haystack, and not only the first character of it.



<?php
    $haystack 
"There are now ten more countries in Europe";
    
$needle   "The Netherlands";

    
$pos strrpos($haystack$needle);
    
var_dump($pos);
?>


PHP 4:

int(0)


PHP 5:

bool(false)