3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<pre>";//without <pre> you cann't see desired output in your browser echo chop(" Ramki ");//right spaces are eliminated echo chop("Ramkrishna", "a..z"); echo "</pre>";
Output for 4.3.0 - 7.1.0
<pre> RamkiR</pre>