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,"g"); echo chr("pha",$txt);
based on Gd0U4
Output for 4.3.0 - 7.1.0
17<br>12 gopu\.phaneendra<br> gopu.phaneendra2020676f70752e7068616e65656e647261 gopu.phaneendra Warning: Wrong parameter count for chr() in /in/ZfamG on line 12