3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i = 50000; $i--; ) { $s = microtime(true); glob("*.php") $d = microtime(true) - $s; }

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.270.0130.07018.81
5.4.260.0130.06718.99
5.4.250.0170.04719.09
5.4.240.0170.04718.85
5.4.230.0030.05718.77
5.4.220.0200.05018.77
5.4.210.0100.07018.90
5.4.200.0030.06018.99
5.4.190.0130.06018.76
5.4.180.0130.06019.02
5.4.170.0100.06718.94
5.4.160.0070.07318.64
5.4.150.0200.06318.98
5.4.140.0000.07016.40
5.4.130.0070.06316.56
5.4.120.0130.04316.46
5.4.110.0130.06716.42
5.4.100.0100.04716.52
5.4.90.0070.04716.41
5.4.80.0170.06316.50
5.4.70.0230.04716.66
5.4.60.0070.06716.45
5.4.50.0030.07016.54
5.4.40.0070.05316.60
5.4.30.0100.04716.52
5.4.20.0030.05316.45
5.4.10.0170.07016.38
5.4.00.0100.06716.00
5.3.280.0030.05314.46
5.3.270.0100.07014.38
5.3.260.0030.06714.52
5.3.250.0130.06314.61
5.3.240.0070.05314.50
5.3.230.0100.06714.50
5.3.220.0070.05314.42
5.3.210.0130.06714.49
5.3.200.0130.04314.58
5.3.190.0200.05314.49
5.3.180.0130.06314.58
5.3.170.0130.04714.40
5.3.160.0030.05314.54
5.3.150.0130.05314.61
5.3.140.0130.06314.57
5.3.130.0100.06714.42
5.3.120.0070.06314.55
5.3.110.0070.06314.56
5.3.100.0100.04313.92
5.3.90.0100.06314.04
5.3.80.0030.06714.04
5.3.70.0230.05314.04
5.3.60.0070.05013.91
5.3.50.0100.06013.95
5.3.40.0030.07313.79
5.3.30.0130.05713.92
5.3.20.0130.05313.56
5.3.10.0070.06013.66
5.3.00.0000.05313.35
5.2.170.0070.04311.15
5.2.160.0030.04711.23
5.2.150.0030.04311.03
5.2.140.0100.03711.15
5.2.130.0030.04311.19
5.2.120.0100.05311.03
5.2.110.0000.05711.12
5.2.100.0070.05311.09
5.2.90.0130.05310.93
5.2.80.0200.03711.10
5.2.70.0130.04011.24
5.2.60.0100.03710.94
5.2.50.0100.05311.04
5.2.40.0000.05010.88
5.2.30.0070.04311.12
5.2.20.0070.03710.89
5.2.10.0070.05010.86
5.2.00.0030.04310.47
5.1.60.0130.0279.93
5.1.50.0030.0379.89
5.1.40.0070.0339.83
5.1.30.0100.04010.55
5.1.20.0100.04310.27
5.1.10.0000.04010.02
5.1.00.0030.03710.13
5.0.50.0000.0438.46
5.0.40.0070.0378.18
5.0.30.0100.0338.14
5.0.20.0070.0378.23
5.0.10.0030.0308.08
5.0.00.0130.0438.20
4.4.90.0000.0276.30
4.4.80.0000.0306.30
4.4.70.0070.0206.30
4.4.60.0000.0236.30
4.4.50.0200.0306.30
4.4.40.0070.0336.30
4.4.30.0070.0176.30
4.4.20.0070.0206.30
4.4.10.0070.0176.30
4.4.00.0000.0406.30
4.3.110.0000.0276.30
4.3.100.0100.0136.30
4.3.90.0030.0276.30
4.3.80.0070.0406.30
4.3.70.0070.0236.29
4.3.60.0000.0276.29
4.3.50.0070.0206.29
4.3.40.0030.0306.29
4.3.30.0030.0236.29
4.3.20.0000.0236.29
4.3.10.0070.0236.29
4.3.00.0000.0306.70

preferences:
144.67 ms | 1398 KiB | 7 Q