3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $path ="public://"; $string = "./documenti/cazzo/immagine.jpg"; $str = end(explode('/', $string)); $row = "lafiga"; if(isset($row) && $row != "") { print($path.$str); } else { print("ciao"); }