3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (string)array_shift($a=[array_sum([substr("4", 1)])]);
based on nvj15
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/V0UgE on line 3 0
Output for 5.4.0 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/V0UgE on line 3 0