run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Hello this is dummy.test. in this string any character, any special character can appear. it is not a fixed type text and predefined. this string will not read manually check by the Programmer.Sorry for the bad English."; $test = strrpos($str, 'test'); $dummy = strrpos($str, 'dummy', strlen($str) - $test); echo $dummy;
Output for 5.0.0 - 7.2.0
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for strrpos() in /in/T00QX on line 9