3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $path = "http://apache/www.posters.cz/js/default.js"; if(strpos($path, 'http://')) { $stuff = explode('/', $path); } var_dump($stuff);
Output for 5.0.4 - 7.1.10
Notice: Undefined variable: stuff in /in/RkHcl on line 6 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: stuff in /in/RkHcl on line 6 NULL