3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6"; echo sub_str_count($str,"/"); echo substr($str,strpos($str,'@')+1,strpos($str,"/"));
based on Zj9Qm
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function sub_str_count() in /in/diI4b:4 Stack trace: #0 {main} thrown in /in/diI4b on line 4
Process exited with code 255.
Output for 5.3.22 - 5.6.28
Fatal error: Call to undefined function sub_str_count() in /in/diI4b on line 4
Process exited with code 255.