3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); $files = glob('repertoire/*'); if (count($files)>0) { foreach ($files as $file) $array[] = $file; } if ($array == NULL) { echo("Aucun fichier"); } else { echo("fichiers: ".implode($array, ','); }

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.0170.04019.02
5.4.260.0200.05318.78
5.4.250.0170.06018.77
5.4.240.0100.05318.88
5.4.230.0170.06718.65
5.4.220.0000.06319.08
5.4.210.0070.05318.80
5.4.200.0070.07019.07
5.4.190.0200.05719.01
5.4.180.0130.05018.94
5.4.170.0130.04718.76
5.4.160.0070.05319.06
5.4.150.0170.06018.96
5.4.140.0100.07716.60
5.4.130.0030.08016.44
5.4.120.0100.05316.46
5.4.110.0170.05716.49
5.4.100.0100.04716.46
5.4.90.0070.05016.36
5.4.80.0100.05316.46
5.4.70.0130.06016.47
5.4.60.0230.05716.38
5.4.50.0130.07016.32
5.4.40.0070.06716.43
5.4.30.0230.05316.38
5.4.20.0030.07716.37
5.4.10.0170.05016.46
5.4.00.0100.05716.02
5.3.280.0070.07314.60
5.3.270.0100.07314.63
5.3.260.0100.06014.61
5.3.250.0100.06314.49
5.3.240.0030.06314.77
5.3.230.0070.05714.71
5.3.220.0100.07314.59
5.3.210.0000.08314.46
5.3.200.0070.07314.29
5.3.190.0100.06314.62
5.3.180.0170.04314.59
5.3.170.0130.05714.45
5.3.160.0070.08014.58
5.3.150.0100.06714.44
5.3.140.0030.07314.57
5.3.130.0070.07014.57
5.3.120.0170.04714.44
5.3.110.0100.05714.70
5.3.100.0170.06314.05
5.3.90.0070.07014.11
5.3.80.0030.05314.04
5.3.70.0070.05014.02
5.3.60.0070.04714.02
5.3.50.0030.05013.81
5.3.40.0030.05313.97
5.3.30.0070.04713.92
5.3.20.0130.04013.58
5.3.10.0030.07013.52
5.3.00.0130.04013.50
5.2.170.0030.05711.25
5.2.160.0030.04311.16
5.2.150.0070.04011.30
5.2.140.0000.04711.16
5.2.130.0000.04311.11
5.2.120.0100.05311.21
5.2.110.0130.03010.86
5.2.100.0070.03711.03
5.2.90.0170.03711.11
5.2.80.0170.03311.10
5.2.70.0100.05011.16
5.2.60.0100.03310.81
5.2.50.0070.04011.04
5.2.40.0070.04011.01
5.2.30.0030.04310.93
5.2.20.0070.03310.96
5.2.10.0100.03710.70
5.2.00.0000.04310.80
5.1.60.0100.0279.95
5.1.50.0030.0339.84
5.1.40.0030.03310.18
5.1.30.0030.03710.40
5.1.20.0030.03710.42
5.1.10.0000.0409.98
5.1.00.0030.0379.92
5.0.50.0030.0308.59
5.0.40.0000.0378.46
5.0.30.0100.0338.25
5.0.20.0030.0278.38
5.0.10.0030.0408.17
5.0.00.0030.0438.20
4.4.90.0000.0237.39
4.4.80.0000.0237.39
4.4.70.0000.0237.39
4.4.60.0000.0237.39
4.4.50.0030.0207.39
4.4.40.0000.0377.39
4.4.30.0030.0207.39
4.4.20.0030.0207.39
4.4.10.0000.0237.39
4.4.00.0070.0307.39
4.3.110.0030.0207.39
4.3.100.0070.0177.39
4.3.90.0130.0207.39
4.3.80.0000.0377.39
4.3.70.0000.0207.39
4.3.60.0030.0207.39
4.3.50.0000.0237.39
4.3.40.0070.0277.39
4.3.30.0070.0177.39
4.3.20.0000.0237.39
4.3.10.0100.0277.39
4.3.00.0030.0207.24

preferences:
141.21 ms | 1394 KiB | 7 Q