3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "Ameerpet,|Jeans Corner: 040-50607090@05:45PM/6"; print_R(str_word_count($str,"/")); echo substr($str,strpos($str,'@')+1,strpos($str,"/"));
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught TypeError: str_word_count(): Argument #2 ($format) must be of type int, string given in /in/4k8cr:4 Stack trace: #0 /in/4k8cr(4): str_word_count('Ameerpet,|Jeans...', '/') #1 {main} thrown in /in/4k8cr 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:
29.72 ms | 401 KiB | 8 Q