3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $scripts="php|"; if(substr($scripts,strlen($scripts)-1,1)=="|") $scripts=substr($scripts,0,strlen($scripts)-1); echo $scripts;
Output for 4.3.0 - 7.1.10
php