3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = null; $b = &var_dump($a); $c = var_dump(&$a); $d = &var_dump($b); $e = var_dump(&$b);
Output for 5.4.0 - 5.4.8
Fatal error: Call-time pass-by-reference has been removed in /in/k4dZo on line 4
Process exited with code 255.
Output for 5.3.28 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/9tQgR on line 4 Deprecated: Call-time pass-by-reference has been deprecated in /in/9tQgR on line 6 NULL Strict Standards: Only variables should be assigned by reference in /in/9tQgR on line 3 &NULL NULL Strict Standards: Only variables should be assigned by reference in /in/9tQgR on line 5 &NULL
Output for 5.3.0 - 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/k4dZo on line 4 Deprecated: Call-time pass-by-reference has been deprecated in /in/k4dZo on line 6 NULL Strict Standards: Only variables should be assigned by reference in /in/k4dZo on line 3 &NULL NULL Strict Standards: Only variables should be assigned by reference in /in/k4dZo on line 5 &NULL