3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'ABCDEFGH'; echo end(str_split($string));
based on Z0tk0
Output for 7.0.0 - 7.3.0rc4
Notice: Only variables should be passed by reference in /in/gt3Rn on line 4 H
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/gt3Rn on line 4 H