3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(end(explode('.', 'test.test2')));
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/LDF4B on line 3 string(5) "test2"
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/LDF4B on line 3 string(5) "test2"