3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $file_name="abc.txt"; $file_extension = end(explode('.', $file_name));
Output for 7.0.0 - 7.3.0beta1
Notice: Only variables should be passed by reference in /in/Cv65t on line 3
Output for hhvm-3.12.14 - 3.17.3
Output for 5.6.0 - 5.6.30
Strict Standards: Only variables should be passed by reference in /in/Cv65t on line 3