3v4l.org

run code in 300+ PHP versions simultaneously
<?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 9tQgR 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.20 - 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
Output for 5.3.0 - 5.3.19
Deprecated: Call-time pass-by-reference has been deprecated in 9tQgR on line 4 Deprecated: Call-time pass-by-reference has been deprecated in 9tQgR on line 6 NULL Strict Standards: Only variables should be assigned by reference in 9tQgR on line 3 &NULL NULL Strict Standards: Only variables should be assigned by reference in 9tQgR on line 5 &NULL

preferences:
174.9 ms | 1395 KiB | 46 Q