3v4l.org

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

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.0230.05018.80
5.4.260.0130.07018.92
5.4.250.0130.05019.07
5.4.240.0130.06318.93
5.4.230.0070.05719.03
5.4.220.0030.06018.97
5.4.210.0070.07718.80
5.4.200.0230.04018.77
5.4.190.0030.05718.98
5.4.180.0130.06318.97
5.4.170.0100.07018.93
5.4.160.0170.06018.95
5.4.150.0170.04718.72
5.4.140.0130.04716.57
5.4.130.0130.05716.45
5.4.120.0100.06716.38
5.4.110.0200.06016.46
5.4.100.0200.05016.33
5.4.90.0170.04316.48
5.4.80.0100.04316.61
5.4.70.0230.05316.43
5.4.60.0170.04016.43
5.4.50.0100.04316.46
5.4.40.0100.04316.46
5.4.30.0100.05716.35
5.4.20.0130.06316.30
5.4.10.0070.06016.50
5.4.00.0130.04715.83
5.3.280.0100.07314.61
5.3.270.0100.04714.47
5.3.260.0130.06714.38
5.3.250.0000.06714.31
5.3.240.0070.07014.45
5.3.230.0100.06014.60
5.3.220.0270.05714.61
5.3.210.0070.05314.59
5.3.200.0130.06314.61
5.3.190.0100.05714.34
5.3.180.0130.06714.66
5.3.170.0000.06014.58
5.3.160.0130.06014.58
5.3.150.0130.05014.72
5.3.140.0200.04014.56
5.3.130.0170.06714.41
5.3.120.0100.04714.32
5.3.110.0030.06314.42
5.3.100.0070.05014.19
5.3.90.0130.05013.93
5.3.80.0100.06313.80
5.3.70.0070.05013.91
5.3.60.0100.04713.92
5.3.50.0070.05013.72
5.3.40.0030.05013.97
5.3.30.0000.07013.63
5.3.20.0070.05013.84
5.3.10.0030.07313.52
5.3.00.0000.06013.65
5.2.170.0030.05310.91
5.2.160.0070.04011.06
5.2.150.0070.05711.14
5.2.140.0070.04011.23
5.2.130.0070.04011.25
5.2.120.0030.04311.02
5.2.110.0070.03711.25
5.2.100.0030.05711.11
5.2.90.0070.03711.11
5.2.80.0070.03711.18
5.2.70.0000.06711.08
5.2.60.0030.04010.94
5.2.50.0130.05011.03
5.2.40.0130.04310.90
5.2.30.0070.03711.06
5.2.20.0070.04010.97
5.2.10.0000.04010.91
5.2.00.0070.04010.80
5.1.60.0100.0409.76
5.1.50.0070.03310.06
5.1.40.0030.04710.21
5.1.30.0070.03710.17
5.1.20.0100.03010.51
5.1.10.0070.05010.10
5.1.00.0000.03710.16
5.0.50.0030.0378.62
5.0.40.0030.0308.26
5.0.30.0100.0508.16
5.0.20.0030.0378.28
5.0.10.0070.0338.26
5.0.00.0100.0478.14
4.4.90.0030.0306.40
4.4.80.0100.0136.40
4.4.70.0000.0236.40
4.4.60.0000.0306.40
4.4.50.0000.0236.40
4.4.40.0030.0306.40
4.4.30.0070.0276.40
4.4.20.0100.0176.40
4.4.10.0030.0206.40
4.4.00.0030.0336.40
4.3.110.0030.0206.40
4.3.100.0070.0176.40
4.3.90.0030.0276.40
4.3.80.0000.0436.40
4.3.70.0030.0206.40
4.3.60.0130.0176.40
4.3.50.0000.0236.40
4.3.40.0070.0276.40
4.3.30.0070.0176.40
4.3.20.0000.0236.40
4.3.10.0070.0236.40
4.3.00.0070.0207.12

preferences:
136.93 ms | 1398 KiB | 7 Q