3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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,"pha"); echo chr($txt); echo chunk_split($txt);
based on cYt99
Output for 4.3.0 - 4.3.10, 4.4.0 - 5.0.3, 5.0.5 - 7.1.0
17<br>12 gopu\.phaneendra<br> gopu.phaneendra2020676f70752e7068616e65656e647261 gopu.phaneendr gopu.phaneendra
Output for 4.3.11, 5.0.4
17<br>12 gopu\.phaneendra<br> gopu.phaneendra2020676f70752e7068616e65656e647261 gopu.phaneendr gopu.phaneendra