run code in 150+ 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 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0RC4
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for strrpos() in /in/T00QX on line 9