3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_file_name = basename($_SERVER['PHP_SELF']); echo $current_file_name; ?> - See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.qDolKq5G.dpuf
Output for 5.2.3 - 7.1.0
JCFSR- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.qDolKq5G.dpuf
Output for 4.3.0 - 5.2.2
- See more at: http://www.w3resource.com/php-exercises/php-basic-exercises.php#sthash.qDolKq5G.dpuf