3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo basename("/www/htdocs/inc/lib.inc.php"); echo "this is a test"; ?>
Output for 4.3.0 - 7.1.0
lib.inc.phpthis is a test