3v4l.org

run code in 300+ PHP versions simultaneously
<?php // A reference can be taken to a key that doesn’t exist within an undefined variable (which becomes an array). Using a non-existent array // normally issues a notice, but this does not. $ref = $array[&$key]; var_dump($array,$ref);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.4.260.0070.07018.80
5.4.250.0270.06018.77
5.4.240.0170.06318.95
5.4.230.0100.07718.65
5.4.220.0170.05318.94
5.4.210.0170.06718.80
5.4.200.0200.06318.94
5.4.190.0100.07019.09
5.4.180.0170.07318.98
5.4.170.0130.05719.09
5.4.160.0170.06018.79
5.4.150.0100.06018.64
5.4.140.0070.06316.43
5.4.130.0170.07016.55
5.4.120.0230.05316.56
5.4.110.0100.05716.33
5.4.100.0230.04716.49
5.4.90.0030.05716.40
5.4.80.0070.05016.36
5.4.70.0070.05016.48
5.4.60.0170.04316.34
5.4.50.0100.06716.52
5.4.40.0230.04716.39
5.4.30.0130.05016.51
5.4.20.0200.06016.62
5.4.10.0130.05716.38
5.4.00.0130.06715.82
5.3.280.0170.04714.29
5.3.270.0130.05314.70
5.3.260.0070.06714.65
5.3.250.0170.04714.46
5.3.240.0130.06714.30
5.3.230.0100.06314.64
5.3.220.0170.07714.45
5.3.210.0130.05714.44
5.3.200.0170.06014.59
5.3.190.0070.05714.58
5.3.180.0100.05314.56
5.3.170.0130.05014.40
5.3.160.0100.06714.56
5.3.150.0170.04714.46
5.3.140.0100.06014.44
5.3.130.0170.06314.25
5.3.120.0070.06014.57
5.3.110.0070.05314.54
5.3.100.0100.06314.09
5.3.90.0130.07014.02
5.3.80.0030.06314.04
5.3.70.0100.05713.87
5.3.60.0130.05713.96
5.3.50.0130.06014.00
5.3.40.0100.04713.86
5.3.30.0000.05313.85
5.3.20.0100.06713.70
5.3.10.0170.05713.80
5.3.00.0130.06713.57

preferences:
139.8 ms | 1394 KiB | 7 Q