3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = "http://192.168.1.19/archive/2015-11-30/20151130-105559_9897323703-all.mp3"; $test2 = substr(strpos("archive", $test), $test); echo $test2;
based on diXtf
Output for 7.0.0 - 7.2.0
Warning: substr() expects parameter 2 to be integer, string given in /in/MYMVH on line 5
Output for 5.3.20 - 5.6.21
Warning: substr() expects parameter 2 to be long, string given in /in/MYMVH on line 5