3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = '/proc/'; if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; } closedir($dh); } readfile('/proc/6/cmdline');

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.60.0090.00616.75
8.3.50.0140.00019.64
8.3.40.0150.00318.67
8.3.30.0100.00319.01
8.3.20.0070.00020.34
8.3.10.0080.00021.84
8.3.00.0080.00019.38
8.2.180.0000.01818.41
8.2.170.0140.00322.96
8.2.160.0100.00720.39
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00321.09
8.2.110.0060.00320.35
8.2.100.0140.00017.78
8.2.90.0050.00317.63
8.2.80.0080.00018.84
8.2.70.0040.00417.25
8.2.60.0070.00717.12
8.2.50.0000.00917.50
8.2.40.0030.00917.75
8.2.30.0040.00418.00
8.2.20.0000.00817.62
8.2.10.0000.00718.00
8.2.00.0070.00417.69
8.1.280.0070.00725.92
8.1.270.0080.00023.91
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00320.61
8.1.230.0110.00022.13
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0000.00817.35
8.1.190.0040.00417.22
8.1.180.0030.00618.10
8.1.170.0040.00417.63
8.1.160.0040.00422.01
8.1.150.0040.00418.79
8.1.140.0070.00317.27
8.1.130.0030.00317.83
8.1.120.0000.00717.44
8.1.110.0030.00617.29
8.1.100.0040.00417.28
8.1.90.0040.00417.30
8.1.80.0060.00317.28
8.1.70.0070.00017.34
8.1.60.0040.00417.50
8.1.50.0080.00017.46
8.1.40.0000.00717.36
8.1.30.0000.00817.39
8.1.20.0000.00717.49
8.1.10.0000.00817.44
8.1.00.0040.00417.28
8.0.300.0080.00018.77
8.0.290.0070.00016.75
8.0.280.0070.00018.32
8.0.270.0000.00817.16
8.0.260.0070.00017.19
8.0.250.0070.00017.07
8.0.240.0000.00716.88
8.0.230.0030.00316.90
8.0.220.0030.00316.94
8.0.210.0040.00416.86
8.0.200.0000.00817.11
8.0.190.0090.00016.97
8.0.180.0040.00416.82
8.0.170.0040.00416.85
8.0.160.0040.00416.94
8.0.150.0070.00016.86
8.0.140.0000.00716.80
8.0.130.0000.00613.37
8.0.120.0090.00014.55
8.0.110.0070.00214.63
8.0.100.0100.00014.56
8.0.90.0060.00614.54
8.0.80.0110.00514.60
8.0.70.0070.00414.52
8.0.60.0090.00214.59
8.0.50.0100.00114.56
8.0.30.0120.00515.23
8.0.20.0090.00815.38
8.0.10.0060.00614.63
8.0.00.0070.00615.06
7.4.330.0000.00615.00
7.4.320.0000.00716.36
7.4.300.0000.00616.57
7.4.290.0000.00716.54
7.4.280.0040.00416.54
7.4.270.0000.00716.45
7.4.260.0030.00316.50
7.4.250.0110.00214.35
7.4.240.0080.00314.89
7.4.230.0110.00214.33
7.4.220.0090.00714.35
7.4.210.0100.00414.33
7.4.200.0080.00314.32
7.4.190.0110.00213.28
7.4.180.0050.00913.34
7.4.160.0090.00514.40
7.4.150.0060.00914.69
7.4.140.0100.00615.57
7.4.130.0110.00514.87
7.4.120.0100.00714.85
7.4.110.0090.00614.36
7.4.100.0110.00314.43
7.4.90.0060.00714.35
7.4.80.0080.00715.14
7.4.70.0060.00714.22
7.4.60.0090.00614.33
7.4.50.0070.00313.99
7.4.40.0080.00614.15
7.4.30.0070.00614.22
7.4.20.0050.00613.06
7.4.10.0040.00913.81
7.4.00.0050.00914.19
7.3.330.0000.00513.28
7.3.320.0040.00613.18
7.3.310.0050.00514.20
7.3.300.0060.00314.21
7.3.290.0090.00214.30
7.3.280.0110.00415.07
7.3.270.0090.00414.61
7.3.260.0090.00414.24
7.3.250.0100.00414.77
7.3.240.0100.00314.25
7.3.230.0100.00414.25
7.3.220.0090.00113.11
7.3.210.0060.00614.23
7.3.200.0070.00715.20
7.3.190.0090.00614.18
7.3.180.0080.00514.03
7.3.170.0100.00414.12
7.3.160.0060.00714.25
7.3.150.0070.00413.08
7.3.140.0090.00213.08
7.3.130.0060.00713.69
7.3.120.0070.00713.97
7.3.110.0060.00813.78
7.3.100.0090.00313.88
7.3.90.0060.00614.09
7.3.80.0070.00413.96
7.3.70.0070.00313.88
7.3.60.0080.00513.80
7.3.50.0050.00713.78
7.3.40.0100.00213.94
7.3.30.0080.00513.96
7.3.20.0050.00615.72
7.3.10.0080.00415.99
7.3.00.0050.00615.80
7.2.340.0090.00313.21
7.2.330.0050.00914.26
7.2.320.0080.00814.39
7.2.310.0110.00414.33
7.2.300.0070.00814.28
7.2.290.0100.00614.29
7.2.280.0110.00213.27
7.2.270.0090.00413.35
7.2.260.0080.00713.80
7.2.250.0080.00614.22
7.2.240.0080.00714.06
7.2.230.0120.00214.08
7.2.220.0090.00414.15
7.2.210.0080.00513.93
7.2.200.0070.00614.18
7.2.190.0070.00714.08
7.2.180.0070.00714.08
7.2.170.0080.00414.11
7.2.160.0060.00713.83
7.2.150.0110.00315.69
7.2.140.0100.00315.77
7.2.130.0060.00716.06
7.2.120.0080.00516.07
7.2.110.0050.00716.03
7.2.100.0070.00416.06
7.2.90.0090.00616.01
7.2.80.0080.00616.01
7.2.70.0050.00916.06
7.2.60.0060.00616.08
7.2.50.0080.00415.97
7.2.40.0100.00516.06
7.2.30.0070.00616.08
7.2.20.0050.00816.10
7.2.10.0060.00816.14
7.2.00.0070.00816.81
7.1.330.0080.00514.94
7.1.320.0060.00715.00
7.1.310.0040.00915.06
7.1.300.0100.00214.95
7.1.290.0060.00714.86
7.1.280.0060.00714.91
7.1.270.0060.00614.86
7.1.260.0020.00914.88
7.1.250.0070.00614.96
7.1.240.0060.00614.62
7.1.230.0080.00314.79
7.1.220.0070.00514.78
7.1.210.0090.00214.78
7.1.200.0060.00715.02
7.1.190.0080.00314.74
7.1.180.0080.00414.68
7.1.170.0080.00414.56
7.1.160.0060.00714.58
7.1.150.0120.00114.75
7.1.140.0090.00314.76
7.1.130.0100.00414.75
7.1.120.0050.00914.73
7.1.110.0090.00414.60
7.1.100.0070.00515.54
7.1.90.0080.00314.61
7.1.80.0120.00214.75
7.1.70.0060.00615.30
7.1.60.0080.00815.97
7.1.50.0080.00515.17
7.1.40.0060.00514.80
7.1.30.0040.00914.66
7.1.20.0080.00614.68
7.1.10.0020.00914.69
7.1.00.0050.02416.57
7.0.330.0110.00114.60
7.0.320.0040.00814.49
7.0.310.0050.00814.49
7.0.300.0070.00414.45
7.0.290.0060.00514.51
7.0.280.0070.00414.42
7.0.270.0100.00014.49
7.0.260.0070.00714.49
7.0.250.0110.00314.59
7.0.240.0080.00614.59
7.0.230.0080.00514.68
7.0.220.0060.00614.42
7.0.210.0090.00414.55
7.0.200.0050.00515.00
7.0.190.0080.00514.49
7.0.180.0060.00414.63
7.0.170.0090.00314.53
7.0.160.0070.00514.51
7.0.150.0080.00414.46
7.0.140.0060.02216.33
7.0.130.0070.00614.49
7.0.120.0060.00614.44
7.0.110.0090.00314.37
7.0.100.0030.01014.47
7.0.90.0120.00214.35
7.0.80.0070.00414.51
7.0.70.0060.00414.53
7.0.60.0080.02215.88
7.0.50.0070.02515.36
7.0.40.0070.01315.44
7.0.30.0080.01715.46
7.0.20.0120.02215.45
7.0.10.0080.01415.51
7.0.00.0060.02415.34
5.6.400.0050.00713.09
5.6.390.0050.00813.14
5.6.380.0080.00513.21
5.6.370.0040.00913.17
5.6.360.0110.00313.28
5.6.350.0070.00513.11
5.6.340.0090.00313.15
5.6.330.0090.00212.95
5.6.320.0080.00413.21
5.6.310.0090.00313.04
5.6.300.0050.00913.06
5.6.290.0070.00613.32
5.6.280.0070.02115.29
5.6.270.0100.00313.13
5.6.260.0080.00413.22
5.6.250.0080.00213.25
5.6.240.0070.00513.26
5.6.230.0100.00213.21
5.6.220.0080.00313.11
5.6.210.0060.01414.98
5.6.200.0070.01314.42
5.6.190.0070.02215.13
5.6.180.0190.02315.09
5.6.170.0130.02315.06
5.6.160.0050.01515.07
5.6.150.0060.02414.52
5.6.140.0060.01514.46
5.6.130.0090.02214.53
5.6.120.0060.02415.14
5.6.110.0100.01815.18
5.6.100.0100.02215.13
5.6.90.0090.02114.93
5.6.80.0070.01514.94
5.6.70.0070.00413.19
5.6.60.0050.00613.23
5.6.50.0050.00712.99
5.6.40.0050.00713.31
5.6.30.0040.00713.21
5.6.20.0070.00513.23
5.6.10.0070.00413.10
5.6.00.0070.00413.10
5.5.380.0090.00113.16
5.5.370.0070.00513.23
5.5.360.0070.00413.04
5.5.350.0100.01514.89
5.5.340.0040.01414.34
5.5.330.0060.02214.98
5.5.320.0110.02314.90
5.5.310.0150.02314.78
5.5.300.0090.02214.33
5.5.290.0060.02814.26
5.5.280.0090.02215.00
5.5.270.0080.02414.97
5.5.260.0120.02114.99
5.5.250.0100.02314.97
5.5.240.0110.02114.91
5.5.230.0090.00413.24
5.5.220.0080.00413.06
5.5.210.0060.00513.12
5.5.200.0090.00213.01
5.5.190.0060.00813.04
5.5.180.0070.00413.07
5.5.170.0090.00213.00
5.5.160.0050.00612.95
5.5.150.0060.00613.01
5.5.140.0060.00513.05
5.5.130.0070.00612.98
5.5.120.0090.00412.81
5.5.110.0070.00612.87
5.5.100.0070.00613.00
5.5.90.0100.00113.13
5.5.80.0060.00513.08
5.5.70.0100.00113.13
5.5.60.0080.00412.98
5.5.50.0070.00513.16
5.5.40.0060.00512.95
5.5.30.0100.00313.11
5.5.20.0040.00812.98
5.5.10.0070.00413.11
5.5.00.0080.00513.07
5.4.450.0100.01614.04
5.4.440.0130.01514.03
5.4.430.0160.01613.98
5.4.420.0110.01514.04
5.4.410.0180.01314.03
5.4.400.0100.01313.95
5.4.390.0140.01413.86
5.4.380.0100.02113.84
5.4.370.0110.01913.77
5.4.360.0110.01713.86
5.4.350.0120.01913.90
5.4.340.0130.01913.79
5.4.330.0070.00312.22
5.4.320.0060.01412.29
5.4.310.0070.01212.38
5.4.300.0070.01212.35
5.4.290.0070.01212.35
5.4.280.0070.01212.29
5.4.270.0090.01012.27
5.4.260.0070.01312.25
5.4.250.0070.01312.27
5.4.240.0080.01212.25
5.4.230.0070.01612.14
5.4.220.0070.01412.12
5.4.210.0070.01112.19
5.4.200.0060.01312.12
5.4.190.0070.01212.17
5.4.180.0060.01412.12
5.4.170.0050.01512.28
5.4.160.0080.01212.23
5.4.150.0080.01112.23
5.4.140.0040.01712.20
5.4.130.0070.01312.16
5.4.120.0040.01412.14
5.4.110.0060.01612.16
5.4.100.0090.01112.17
5.4.90.0060.01412.20
5.4.80.0090.01212.18
5.4.70.0070.01112.14
5.4.60.0080.01312.30
5.4.50.0090.01112.13
5.4.40.0090.01012.14
5.4.30.0060.01412.23
5.4.20.0070.01312.12
5.4.10.0080.01212.22
5.4.00.0070.01211.93
5.3.290.0050.01912.87
5.3.280.0060.01712.99
5.3.270.0050.02412.96
5.3.260.0060.02412.84
5.3.250.0090.01813.03
5.3.240.0080.01512.89
5.3.230.0060.01712.98
5.3.220.0070.02012.90
5.3.210.0080.02012.85
5.3.200.0070.01712.71
5.3.190.0100.01312.79
5.3.180.0100.01312.84
5.3.170.0100.01213.05
5.3.160.0080.01512.84
5.3.150.0080.01412.91
5.3.140.0090.01312.91
5.3.130.0030.02012.86
5.3.120.0080.01612.90
5.3.110.0080.01612.88
5.3.100.0070.01512.67
5.3.90.0080.01412.76
5.3.80.0070.01512.64
5.3.70.0080.01412.52
5.3.60.0090.01512.77
5.3.50.0090.01312.54
5.3.40.0080.01712.56
5.3.30.0080.01312.73
5.3.20.0060.01612.45
5.3.10.0060.01512.56
5.3.00.0080.01512.40
5.2.170.0040.01411.12
5.2.160.0060.01411.08
5.2.150.0050.01411.02
5.2.140.0080.01010.99
5.2.130.0060.01311.06
5.2.120.0060.01211.00
5.2.110.0050.01411.05
5.2.100.0040.01411.00
5.2.90.0050.01311.01
5.2.80.0040.01611.03
5.2.70.0040.01411.02
5.2.60.0060.01310.91
5.2.50.0080.01010.88
5.2.40.0040.01410.91
5.2.30.0060.01210.92
5.2.20.0060.01110.78
5.2.10.0060.01210.83
5.2.00.0060.01110.60
5.1.60.0050.01010.11
5.1.50.0060.01010.11
5.1.40.0040.01110.18
5.1.30.0060.00910.17
5.1.20.0040.01210.18
5.1.10.0080.00810.13
5.1.00.0060.01010.01
5.0.50.0040.0119.21
5.0.40.0040.0099.16
5.0.30.0040.0129.10
5.0.20.0040.0089.09
5.0.10.0050.0089.08
5.0.00.0040.0139.08
4.4.90.0030.0078.59
4.4.80.0050.0058.58
4.4.70.0030.0078.58
4.4.60.0020.0088.58
4.4.50.0020.0078.58
4.4.40.0040.0088.56
4.4.30.0010.0078.58
4.4.20.0050.0058.61
4.4.10.0020.0078.61
4.4.00.0040.0088.58
4.3.110.0040.0078.55
4.3.100.0040.0058.55
4.3.90.0020.0078.54
4.3.80.0040.0118.52
4.3.70.0030.0068.54
4.3.60.0040.0078.54
4.3.50.0020.0098.54
4.3.40.0040.0098.51
4.3.30.0020.0078.10
4.3.20.0020.0068.09
4.3.10.0020.0068.08
4.3.00.0050.00612.22

preferences:
64.7 ms | 400 KiB | 5 Q