3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'foo'; $b = & $a; $c = 'moo'; $vars = get_defined_vars(); $vars['a'] = 'OMG'; $vars['c'] = 'Pie'; debug_zval_dump(&$a, &$b, &$c);
Output for 5.4.0 - 5.4.17
Fatal error: Call-time pass-by-reference has been removed in /in/iQteX on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/iQteX on line 11 Deprecated: Call-time pass-by-reference has been deprecated in /in/iQteX on line 11 Deprecated: Call-time pass-by-reference has been deprecated in /in/iQteX on line 11 &string(3) "OMG" refcount(6) &string(3) "OMG" refcount(6) &string(3) "moo" refcount(2)