3v4l.org

run code in 200+ 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,"p");
based on 3quQG
Output for 5.3.0 - 7.1.7
15<br>10 gopu\.phaneendra<br> Warning: addslashes() expects exactly 1 parameter, 2 given in /in/DOJm6 on line 9
Output for 4.3.0 - 5.2.17
15<br>10 gopu\.phaneendra<br> Warning: Wrong parameter count for addslashes() in /in/DOJm6 on line 9