3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $e=explode(".","../image.jpg"); echo count($e); echo $e[1]; echo $e[2]; echo htmlentities("image.jpg</sript>"); echo "lala"; if (!preg_match('/^[a-zA-Z0-9_-]+$/',"hello")) echo "falsch"; ?>
based on Qhm7O
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
4/imageimage.jpg&lt;/sript&gt;lala