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)
8.3.40.0110.00418.67
8.3.30.0060.00819.22
8.3.20.0040.00420.33
8.3.10.0080.00022.05
8.3.00.0080.00022.45
8.2.170.0120.00322.96
8.2.160.0040.01120.98
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00017.63
8.2.110.0060.00322.23
8.2.100.0080.00319.40
8.2.90.0000.00719.40
8.2.80.0040.00418.04
8.2.70.0040.00417.63
8.2.60.0060.00318.03
8.2.50.0080.00018.07
8.2.40.0030.00518.28
8.2.30.0040.00418.05
8.2.20.0060.00317.77
8.2.10.0050.00317.74
8.2.00.0000.00717.68
8.1.270.0030.00622.19
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00024.01
8.1.230.0060.00619.22
8.1.220.0080.00017.77
8.1.210.0000.00818.77
8.1.200.0100.00017.48
8.1.190.0040.00417.63
8.1.180.0000.00818.73
8.1.170.0040.00418.64
8.1.160.0070.00022.09
8.1.150.0030.00518.71
8.1.140.0080.00017.52
8.1.130.0050.00317.95
8.1.120.0040.00417.44
8.1.110.0000.00817.43
8.1.100.0000.00717.47
8.1.90.0040.00417.47
8.1.80.0070.00017.46
8.1.70.0050.00217.43
8.1.60.0110.00017.55
8.1.50.0040.00417.48
8.1.40.0040.00417.53
8.1.30.0050.00317.64
8.1.20.0080.00017.75
8.1.10.0080.00317.55
8.1.00.0080.00017.63
8.0.300.0070.00018.77
8.0.290.0070.00017.16
8.0.280.0030.00318.50
8.0.270.0030.00317.25
8.0.260.0030.00316.89
8.0.250.0030.00316.97
8.0.240.0070.00016.93
8.0.230.0000.00816.92
8.0.220.0070.00016.95
8.0.210.0030.00316.99
8.0.200.0040.00416.96
8.0.190.0000.00816.96
8.0.180.0060.00317.00
8.0.170.0000.00817.00
8.0.160.0000.00716.89
8.0.150.0070.00016.80
8.0.140.0000.00716.89
8.0.130.0030.00313.42
8.0.120.0070.00315.17
8.0.110.0080.00215.06
8.0.100.0060.00415.12
8.0.90.0080.00215.09
8.0.80.0080.00815.12
8.0.70.0060.00415.14
8.0.60.0070.00315.17
8.0.50.0080.00215.14
8.0.30.0110.00715.86
8.0.20.0120.00516.06
8.0.10.0070.00415.35
8.0.00.0070.01115.66
7.4.330.0050.00015.03
7.4.320.0000.00616.59
7.4.300.0030.00616.56
7.4.290.0040.00416.55
7.4.280.0030.00316.55
7.4.270.0000.00816.63
7.4.260.0080.00016.54
7.4.250.0070.00414.94
7.4.240.0060.00315.50
7.4.230.0070.00514.86
7.4.220.0060.01014.99
7.4.210.0050.01115.74
7.4.200.0050.00615.03
7.4.190.0030.00614.96
7.4.180.0060.00613.31
7.4.160.0070.00914.94
7.4.150.0040.01115.33
7.4.140.0120.01016.31
7.4.130.0110.00715.53
7.4.120.0060.01015.41
7.4.110.0080.00814.92
7.4.100.0130.00314.90
7.4.90.0090.00614.84
7.4.80.0050.01016.30
7.4.70.0080.00614.93
7.4.60.0130.00514.85
7.4.50.0060.00414.87
7.4.40.0060.00817.94
7.4.30.0080.00814.83
7.4.20.0060.00613.17
7.4.10.0070.00913.98
7.4.00.0120.00414.22
7.3.330.0020.00213.09
7.3.320.0020.00213.11
7.3.310.0020.00814.69
7.3.300.0050.00614.84
7.3.290.0090.00514.75
7.3.280.0090.01115.55
7.3.270.0070.00815.31
7.3.260.0140.00314.79
7.3.250.0080.00815.39
7.3.240.0150.00314.69
7.3.230.0150.00414.81
7.3.220.0110.00313.02
7.3.210.0110.00414.79
7.3.200.0080.00816.18
7.3.190.0080.00714.81
7.3.180.0050.01014.67
7.3.170.0110.00314.63
7.3.160.0090.00614.75
7.3.150.0080.00013.16
7.3.140.0000.00613.10
7.3.130.0070.00613.92
7.3.120.0050.00714.12
7.3.110.0090.00414.06
7.3.100.0030.00513.77
7.3.90.0070.00414.21
7.3.80.0030.00613.99
7.3.70.0100.00414.03
7.3.60.0100.00414.15
7.3.50.0060.00614.13
7.3.40.0080.00514.04
7.3.30.0070.00414.03
7.3.20.0040.01015.96
7.3.10.0090.00515.69
7.3.00.0120.00215.88
7.2.340.0130.00013.30
7.2.330.0100.00514.92
7.2.320.0130.00315.02
7.2.310.0070.00814.94
7.2.300.0080.00714.94
7.2.290.0090.00614.98
7.2.280.0070.00713.20
7.2.270.0100.00313.27
7.2.260.0120.00314.06
7.2.250.0120.00314.08
7.2.240.0080.00614.21
7.2.230.0050.00813.97
7.2.220.0110.00513.99
7.2.210.0070.00614.25
7.2.200.0050.00914.29
7.2.190.0130.00214.24
7.2.180.0100.00114.16
7.2.170.0090.00514.19
7.2.160.0090.00414.28
7.2.150.0050.00916.08
7.2.140.0040.01116.07
7.2.130.0120.00316.25
7.2.120.0050.00716.13
7.2.110.0070.00716.10
7.2.100.0070.00716.17
7.2.90.0070.00816.04
7.2.80.0120.00016.08
7.2.70.0100.00516.11
7.2.60.0110.00216.15
7.2.50.0050.00716.14
7.2.40.0080.00516.10
7.2.30.0100.00516.20
7.2.20.0070.00716.14
7.2.10.0130.00116.24
7.2.00.0060.00717.11
7.1.330.0090.00414.94
7.1.320.0110.00314.99
7.1.310.0060.00514.87
7.1.300.0070.00715.00
7.1.290.0040.00614.99
7.1.280.0060.00714.92
7.1.270.0110.00215.03
7.1.260.0060.00714.89
7.1.250.0050.00714.73
7.1.240.0060.00615.00
7.1.230.0110.00314.88
7.1.220.0110.00114.81
7.1.210.0060.00715.03
7.1.200.0070.00414.93
7.1.190.0080.00514.92
7.1.180.0060.00914.93
7.1.170.0090.00314.87
7.1.160.0050.00615.05
7.1.150.0100.00514.95
7.1.140.0080.00214.99
7.1.130.0080.00514.90
7.1.120.0090.00514.98
7.1.110.0040.00814.87
7.1.100.0110.00016.01
7.1.90.0070.00714.88
7.1.80.0090.00515.01
7.1.70.0040.00515.70
7.1.60.0080.01016.62
7.1.50.0080.00715.63
7.1.40.0080.00614.87
7.1.30.0130.00214.82
7.1.20.0090.00114.94
7.1.10.0080.00314.95
7.1.00.0080.02717.50
7.0.330.0080.00514.75
7.0.320.0080.00514.76
7.0.310.0030.00914.79
7.0.300.0100.00314.63
7.0.290.0060.00514.69
7.0.280.0070.00614.57
7.0.270.0130.00214.80
7.0.260.0080.00414.70
7.0.250.0040.00714.82
7.0.240.0080.00314.83
7.0.230.0070.00614.82
7.0.220.0090.00414.85
7.0.210.0040.00714.71
7.0.200.0050.00515.43
7.0.190.0070.00514.86
7.0.180.0070.00514.68
7.0.170.0080.00414.77
7.0.160.0090.00114.70
7.0.150.0060.00914.80
7.0.140.0070.02717.20
7.0.130.0030.00814.92
7.0.120.0060.00614.69
7.0.110.0080.00314.69
7.0.100.0070.00614.58
7.0.90.0100.00414.73
7.0.80.0060.00514.77
7.0.70.0030.01114.60
7.0.60.0050.02016.43
7.0.50.0080.03015.70
7.0.40.0050.03515.88
7.0.30.0190.02515.75
7.0.20.0110.01715.82
7.0.10.0090.02215.98
7.0.00.0080.02015.85
5.6.400.0080.00513.48
5.6.390.0070.00613.43
5.6.380.0060.00613.73
5.6.370.0060.00513.29
5.6.360.0080.00613.41
5.6.350.0100.00313.37
5.6.340.0040.00613.44
5.6.330.0090.00213.28
5.6.320.0070.00513.62
5.6.310.0050.00713.37
5.6.300.0090.00313.47
5.6.290.0100.00513.60
5.6.280.0050.02915.89
5.6.270.0030.00713.57
5.6.260.0080.00513.44
5.6.250.0070.00713.45
5.6.240.0050.00613.40
5.6.230.0090.00213.55
5.6.220.0090.00313.46
5.6.210.0120.02215.77
5.6.200.0050.03315.18
5.6.190.0080.03415.83
5.6.180.1230.01815.81
5.6.170.0080.01915.76
5.6.160.0020.02515.71
5.6.150.0090.02415.05
5.6.140.0070.02515.06
5.6.130.0060.01715.06
5.6.120.0080.02216.04
5.6.110.0080.01815.97
5.6.100.0050.01815.92
5.6.90.0090.03115.97
5.6.80.0080.02615.76
5.6.70.1220.01815.82
5.6.60.0120.00213.41
5.6.50.0090.00413.48
5.6.40.0080.00613.50
5.6.30.0080.00313.40
5.6.20.0080.00313.32
5.6.10.0040.00813.32
5.6.00.0050.00513.47
5.5.380.0080.00413.59
5.5.370.0070.00513.69
5.5.360.0080.00513.38
5.5.350.0070.02815.70
5.5.340.0080.02314.91
5.5.330.0110.02215.61
5.5.320.0120.02715.77
5.5.310.0090.02515.61
5.5.300.0070.02914.88
5.5.290.0080.02614.90
5.5.280.0100.03015.99
5.5.270.0040.03315.89
5.5.260.0080.02915.96
5.5.250.0090.03115.89
5.5.240.0070.02415.63
5.5.230.0080.00613.52
5.5.220.0070.00413.32
5.5.210.0070.00313.57
5.5.200.0080.00513.46
5.5.190.0090.00513.32
5.5.180.0070.00613.36
5.5.170.0080.00513.30
5.5.160.0100.00313.38
5.5.150.0060.00713.23
5.5.140.0070.00813.21
5.5.130.0070.00513.42
5.5.120.0080.00513.37
5.5.110.0090.00513.25
5.5.100.0080.00613.48
5.5.90.0070.00713.34
5.5.80.0070.00313.53
5.5.70.0060.00613.35
5.5.60.0040.01113.28
5.5.50.0090.00513.18
5.5.40.0020.01013.36
5.5.30.0070.00513.45
5.5.20.0050.00613.37
5.5.10.0040.00813.35
5.5.00.0050.00913.23
5.4.450.0100.02214.61
5.4.440.0220.02314.70
5.4.430.0070.02114.63
5.4.420.0040.02414.61
5.4.410.0070.02414.56
5.4.400.0320.00514.36
5.4.390.0300.00514.44
5.4.380.0120.02414.41
5.4.370.0090.02014.29
5.4.360.0110.01614.39
5.4.350.0130.02014.38
5.4.340.0190.01514.27
5.4.330.0080.00312.17
5.4.320.0070.01412.26
5.4.310.0080.01412.31
5.4.300.0070.01412.30
5.4.290.0080.01312.34
5.4.280.0090.01612.25
5.4.270.0110.02314.41
5.4.260.0130.01914.39
5.4.250.0090.02114.42
5.4.240.0080.01914.44
5.4.230.0090.02114.32
5.4.220.0040.02314.30
5.4.210.0080.02614.32
5.4.200.0060.02014.39
5.4.190.0040.02214.38
5.4.180.0070.02814.33
5.4.170.0090.02214.41
5.4.160.0080.02214.37
5.4.150.0050.02114.37
5.4.140.0120.01613.59
5.4.130.0030.02013.55
5.4.120.0060.01913.68
5.4.110.0040.02913.60
5.4.100.0090.01813.60
5.4.90.0070.01813.63
5.4.80.0040.02013.69
5.4.70.0060.02113.60
5.4.60.0070.02813.60
5.4.50.0050.02113.54
5.4.40.0110.01513.62
5.4.30.0060.01913.66
5.4.20.0080.01813.52
5.4.10.0100.01713.62
5.4.00.0070.01913.30
5.3.290.0060.01712.52
5.3.280.0030.02313.06
5.3.270.0110.01913.14
5.3.260.0080.02413.09
5.3.250.0030.02313.10
5.3.240.0110.01713.23
5.3.230.0080.02013.15
5.3.220.0100.01513.15
5.3.210.0050.02213.20
5.3.200.0070.01813.07
5.3.190.0080.02113.08
5.3.180.0080.02813.03
5.3.170.0070.02513.11
5.3.160.0070.01913.05
5.3.150.0070.02013.04
5.3.140.0040.02213.02
5.3.130.0050.02113.11
5.3.120.0090.01913.09
5.3.110.0070.01813.10
5.3.100.0060.02212.89
5.3.90.0040.02212.92
5.3.80.0080.01912.90
5.3.70.0050.02212.90
5.3.60.0040.02212.97
5.3.50.0050.02812.77
5.3.40.0090.02012.88
5.3.30.0060.02012.84
5.3.20.0070.02512.84
5.3.10.0040.02112.66
5.3.00.0060.02012.65
5.2.170.0040.02611.65
5.2.160.0080.01811.50
5.2.150.0110.01711.68
5.2.140.0090.02711.57
5.2.130.0050.02211.49
5.2.120.0080.02311.55
5.2.110.0070.02111.47
5.2.100.0160.01611.55
5.2.90.0030.02411.49
5.2.80.0080.02111.45
5.2.70.0050.02511.60
5.2.60.0120.01611.30
5.2.50.0060.02011.46
5.2.40.0050.02311.31
5.2.30.0060.03111.33
5.2.20.0030.02511.31
5.2.10.0040.02211.40
5.2.00.0070.02311.18
5.1.60.0060.01810.49
5.1.50.0060.01810.60
5.1.40.0030.02110.56
5.1.30.0090.02510.78
5.1.20.0060.01810.55
5.1.10.0060.02610.61
5.1.00.0070.01810.44
5.0.50.0000.0209.56
5.0.40.0030.0189.37
5.0.30.0020.0239.40
5.0.20.0020.0259.38
5.0.10.0060.0159.27
5.0.00.0040.0269.30
4.4.90.0020.0128.50
4.4.80.0010.0138.50
4.4.70.0040.0108.50
4.4.60.0010.0138.50
4.4.50.0030.0168.50
4.4.40.0070.0208.50
4.4.30.0040.0128.50
4.4.20.0050.0088.50
4.4.10.0010.0168.50
4.4.00.0000.0198.50
4.3.110.0020.0128.50
4.3.100.0030.0118.50
4.3.90.0000.0138.50
4.3.80.0000.0268.50
4.3.70.0010.0118.50
4.3.60.0010.0148.50
4.3.50.0020.0128.50
4.3.40.0000.0198.50
4.3.30.0020.0118.50
4.3.20.0020.0158.50
4.3.10.0000.0158.50
4.3.00.0000.0138.84

preferences:
45.62 ms | 400 KiB | 5 Q