3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php$filename = 'hello.txt'; $ext = pathinfo($filename, PATHINFO_EXTENSION); echo $ext;
Output for 5.4.0 - 5.4.32
<?php$filename = 'hello.txt'; $ext = pathinfo($filename, PATHINFO_EXTENSION); echo $ext;