3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a =& substr("foo", 1);
based on GRgX9
Output for 7.0.0 - 7.2.0
Notice: Only variables should be assigned by reference in /in/fkKCX on line 3
Output for 5.3.19 - 5.6.28
Strict Standards: Only variables should be assigned by reference in /in/fkKCX on line 3