3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6sdfhaskdkasdkjaskd"; echo substr($str,strstr($str,'@'),strstr($str,'/',true));
based on SIogV
Output for 7.0.0 - 7.2.0
Warning: substr() expects parameter 2 to be integer, string given in /in/PEmdm on line 4
Output for 5.3.22 - 5.6.21
Warning: substr() expects parameter 2 to be long, string given in /in/PEmdm on line 4