3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo basename('/what/what/what.pdf');

preferences:
36.67 ms | 402 KiB | 5 Q