3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6sdfhaskdkasdkjaskd"; echo substr($str,strstr($str,'@'),strstr($str,'/',true));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: substr(): Argument #2 ($offset) must be of type int, string given in /in/PEmdm:4 Stack trace: #0 /in/PEmdm(4): substr('Ameerpet,|Jeans...', '@05:45PM/6sdfha...', 'Ameerpet,|Jeans...') #1 {main} thrown in /in/PEmdm on line 4
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.78 ms | 401 KiB | 8 Q