3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i =0; while(true) { $a = &$a[]; $i++; if ($i % 100==0){ echo $i,' ', var_dump($a); break}; }

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.340.0500.05719.15
5.4.320.0270.04318.98
5.4.310.0330.06319.13
5.4.300.0330.04718.85
5.4.290.0230.05318.87
5.4.280.0230.07718.85
5.4.270.0300.06018.99
5.4.260.0200.04319.13
5.4.250.0330.05318.97
5.4.240.0330.06719.08
5.4.230.0230.07319.23
5.4.220.0270.06719.14
5.4.210.0230.06718.98
5.4.200.0370.06019.05
5.4.190.0230.08019.23
5.4.180.0230.06718.93
5.4.170.0330.05319.16
5.4.160.0270.04019.20
5.4.150.0370.07019.03
5.4.140.0330.06316.34
5.4.130.0230.06016.38
5.4.120.0330.06016.32
5.4.110.0270.04316.54
5.4.100.0200.04716.37
5.4.90.0330.06316.47
5.4.80.0300.05316.57
5.4.70.0330.07016.52
5.4.60.0300.06316.33
5.4.50.0330.05016.53
5.4.40.0270.07316.59
5.4.30.0270.04016.34
5.4.20.0370.04716.54
5.4.10.0330.06716.16
5.4.00.0300.04315.85
5.3.290.0270.06014.62
5.3.280.0300.06714.45
5.3.270.0330.03314.46
5.3.260.0270.04714.55
5.3.250.0330.05314.45
5.3.240.0270.06714.70
5.3.230.0330.06714.49
5.3.220.0270.06314.40
5.3.210.0300.06314.44
5.3.200.0330.06014.66
5.3.190.0330.06014.60
5.3.180.0230.07714.40
5.3.170.0370.06314.40
5.3.160.0370.06714.47
5.3.150.0270.05714.39
5.3.140.0330.06314.39
5.3.130.0270.04014.41
5.3.120.0270.05014.53
5.3.110.0300.05014.58
5.3.100.0300.05314.02
5.3.90.0300.06713.97
5.3.80.0430.05313.97
5.3.70.0370.05313.93
5.3.60.0300.06713.79
5.3.50.0330.06713.89
5.3.40.0370.05013.72
5.3.30.0270.06713.75
5.3.20.0230.06013.64
5.3.10.0330.04713.58
5.3.00.0400.06013.42
5.2.170.0200.04711.77
5.2.160.0230.04311.77
5.2.150.0270.05711.77
5.2.140.0270.05011.77
5.2.130.0270.04011.77
5.2.120.0200.03711.77
5.2.110.0270.03311.77
5.2.100.0170.05311.77
5.2.90.0300.05311.77
5.2.80.0170.05011.77
5.2.70.0230.04711.77
5.2.60.0300.03011.77
5.2.50.0200.05311.77
5.2.40.0230.05311.77
5.2.30.0130.05011.77
5.2.20.0170.05711.77
5.2.10.0200.06011.77
5.2.00.0300.05011.77
5.1.60.0200.05011.77
5.1.50.0230.05011.77
5.1.40.0170.05011.77
5.1.30.0200.04311.77
5.1.20.0230.05011.77
5.1.10.0200.04711.77
5.1.00.0200.05311.77
5.0.50.0100.04711.77
5.0.40.0100.04311.77
5.0.30.0130.06011.77
5.0.20.0100.04311.77
5.0.10.0100.04311.77
5.0.00.0170.05711.77
4.4.90.0100.02311.77
4.4.80.0130.02711.77
4.4.70.0130.03311.77
4.4.60.0170.02711.77
4.4.50.0100.02711.77
4.4.40.0070.05311.77
4.4.30.0070.03711.77
4.4.20.0130.03311.77
4.4.10.0130.02711.77
4.4.00.0170.03011.77
4.3.110.0070.02011.77
4.3.100.0100.03011.77
4.3.90.0100.03711.77
4.3.80.0070.05011.77
4.3.70.0100.02011.79
4.3.60.0070.02011.79
4.3.50.0170.02711.80
4.3.40.0100.05011.80
4.3.30.0070.02711.80
4.3.20.0030.03311.81
4.3.10.0070.03011.81
4.3.00.0030.03311.82

preferences:
141.01 ms | 1394 KiB | 7 Q