3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); function foo(){ return 'string'; } $temp =& foo();
based on p9JNm
Output for 7.0.0 - 7.2.0
Notice: Only variables should be assigned by reference in /in/vXUIZ on line 6
Output for hhvm-3.15.4
Output for 5.6.0 - 5.6.30
Strict Standards: Only variables should be assigned by reference in /in/vXUIZ on line 6