3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = "Template_menu_01"; $bar = intval(end(explode("_", $foo))); var_dump($bar);
based on IqKYX
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/bDl3e on line 4 int(1)
Output for 5.3.18 - 5.6.21
Strict Standards: Only variables should be passed by reference in /in/bDl3e on line 4 int(1)