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>"); ?>
based on ePHRB
Output for 4.3.0 - 7.1.0
4/imageimage.jpg&lt;/sript&gt;