3v4l.org - online PHP & HHVM shell, execute code in 100+ different versions!

Output for hhvm-3.0.1 - 3.2.0
array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" }
Output for php7@20140901
Parse error: syntax error, unexpected '&' in /in/0rml5 on line 10
Process exited with code 255.
Output for 5.4.0 - 5.6.0, php7@20140507 - 20140801
Fatal error: Call-time pass-by-reference has been removed in /in/0rml5 on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/0rml5 on line 10 Deprecated: Call-time pass-by-reference has been deprecated in /in/0rml5 on line 11 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" }
Output for 5.2.7 - 5.2.17
Warning: Call-time pass-by-reference has been deprecated in /in/0rml5 on line 10 Warning: Call-time pass-by-reference has been deprecated in /in/0rml5 on line 11 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" }
Output for 5.2.5 - 5.2.6
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /in/0rml5 on line 10 Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /in/0rml5 on line 11 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" }
Output for 5.2.1 - 5.2.4
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /in/0rml5 on line 10 Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /in/0rml5 on line 11 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" }
Output for 4.3.0 - 5.2.0
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /in/0rml5 on line 10 Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of array_map(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /in/0rml5 on line 11 array(3) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" } array(3) { [0]=> string(1) "A" [1]=> string(1) "B" [2]=> string(1) "C" }