3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ar1 = array_fill(1, 10000, 'x'); $ar2 = &$ar1; $start = microtime(true); for ($i=1; $i<1000; $i++ ) { array_key_exists(500, &$ar2); }; echo (microtime(true) - $start); $ar1 = array_fill(1, 10000, 'x'); $ar2 = &$ar1; $start = microtime(true); for ($i=1; $i<1000; $i++ ) { array_key_exists(500, $ar2); }; echo (microtime(true) - $start);
Output for 5.4.0 - 5.4.23
Fatal error: Call-time pass-by-reference has been removed in /in/kWW8c on line 8
Process exited with code 255.
Output for 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000293970108032230.39489006996155
Output for 5.3.28
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000144004821777340.48451590538025
Output for 5.3.27
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000231981277465820.55656909942627
Output for 5.3.26
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000128984451293950.51094698905945
Output for 5.3.25
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000139951705932620.45645213127136
Output for 5.3.24
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000141143798828120.5438539981842
Output for 5.3.23
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000404119491577150.46642112731934
Output for 5.3.22
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.00015282630920410.47736692428589
Output for 5.3.21
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000132083892822270.43766903877258
Output for 5.3.20
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000149011611938480.49402213096619
Output for 5.3.19
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000216007232666020.49492383003235
Output for 5.3.18
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000128984451293950.44226694107056
Output for 5.3.17
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000129938125610350.45500588417053
Output for 5.3.16
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000133991241455080.42134499549866
Output for 5.3.15
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000146865844726560.46050810813904
Output for 5.3.14
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000139951705932620.43177199363708
Output for 5.3.13
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000171899795532230.41681981086731
Output for 5.3.12
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000131130218505860.42522001266479
Output for 5.3.11
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.00013685226440430.45614290237427
Output for 5.3.10
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000142097473144530.51960301399231
Output for 5.3.9
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000158071517944340.49014902114868
Output for 5.3.8
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000142097473144530.45877408981323
Output for 5.3.7
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000129938125610350.43283581733704
Output for 5.3.6
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000128984451293950.45219802856445
Output for 5.3.5
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000153779983520510.46041893959045
Output for 5.3.4
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000145912170410160.43385100364685
Output for 5.3.3
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000154972076416020.46002793312073
Output for 5.3.2
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000128030776977540.50483417510986
Output for 5.3.1
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000128030776977540.65891194343567
Output for 5.3.0
Deprecated: Call-time pass-by-reference has been deprecated in /in/kWW8c on line 8 0.000120878219604490.70958495140076