3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt=" gopu.phaneendra"; echo strlen($txt); echo"<br>"; echo strpos($txt,"end"); echo " "; echo addcslashes($txt,"."); echo "<br>"; echo addslashes($txt); echo bin2hex($txt); echo chop($txt,"g"); echo chr($txt); echo chunk_split($txt);
Output for git.master, git.master_jit, rfc.property-hooks
17<br>12 gopu\.phaneendra<br> gopu.phaneendra2020676f70752e7068616e65656e647261 gopu.phaneendra Fatal error: Uncaught TypeError: chr(): Argument #1 ($codepoint) must be of type int, string given in /in/cYt99:12 Stack trace: #0 /in/cYt99(12): chr(' gopu.phaneend...') #1 {main} thrown in /in/cYt99 on line 12
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:
68.89 ms | 401 KiB | 8 Q