3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6sdfhaskdkasdkjaskd"; echo substr($str,strpos(strstr($str,'@')+1),strpos(strstr($str,'/',true)));
based on PEmdm
Output for 7.1.0 - 7.2.0
Warning: A non-numeric value encountered in /in/oTGgt on line 4 Warning: strpos() expects at least 2 parameters, 1 given in /in/oTGgt on line 4 Warning: strpos() expects at least 2 parameters, 1 given in /in/oTGgt on line 4
Output for 5.3.22 - 7.0.20
Warning: strpos() expects at least 2 parameters, 1 given in /in/oTGgt on line 4 Warning: strpos() expects at least 2 parameters, 1 given in /in/oTGgt on line 4