3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'a.b.c'; $b = end(explode('.', $a)); var_dump($b);
Output for 7.0.0 - 7.3.0rc3
Notice: Only variables should be passed by reference in /in/F3X3b on line 4 string(1) "c"
Output for hhvm-3.15.4
string(1) "c"
Output for 5.6.0 - 5.6.30
Strict Standards: Only variables should be passed by reference in /in/F3X3b on line 4 string(1) "c"