3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "asñldfiasjdfqoiertqñkejnfgñdfnbñcvbisjdfpogiserjñglkajdskljfhaqoweiuhaslkdj"; $v = array(); for ($i = 0; $i < 100; $i++) { $v[] = $a; } debug_zval_dump(&$a);
based on 0NHoo
Output for 7.0.0
Parse error: syntax error, unexpected '&' in /in/p1rIK on line 10
Process exited with code 255.
Output for 5.4.10 - 5.6.16
Fatal error: Call-time pass-by-reference has been removed in /in/p1rIK on line 10
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/p1rIK on line 10 &string(80) "asñldfiasjdfqoiertqñkejnfgñdfnbñcvbisjdfpogiserjñglkajdskljfhaqoweiuhaslkdj" refcount(2)