3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dir = '/proc/'; if ($dh = opendir($dir)) { while (($file = readdir($dh)) !== false) { if ("dir" == filetype($dir . $file) && file_exists($dir . $file . '/cmdline')) { readfile($dir . $file . '/cmdline'); } echo "filename: $file : filetype: " . filetype($dir . $file) . "\n"; } closedir($dh); } //readfile('/proc/20722/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.0120.00316.63
8.3.50.0100.00822.99
8.3.40.0040.01118.68
8.3.30.0140.00019.09
8.3.20.0040.00420.29
8.3.10.0030.00521.98
8.3.00.0050.00319.38
8.2.180.0150.00018.79
8.2.170.0120.00622.96
8.2.160.0070.01020.36
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0080.00020.91
8.2.110.0070.00322.27
8.2.100.0040.00817.78
8.2.90.0040.00417.84
8.2.80.0030.00517.97
8.2.70.0030.00717.63
8.2.60.0050.00317.80
8.2.50.0030.00618.07
8.2.40.0050.00319.72
8.2.30.0060.00317.97
8.2.20.0000.00817.65
8.2.10.0080.00018.09
8.2.00.0000.00817.71
8.1.280.0080.00625.92
8.1.270.0000.00823.79
8.1.260.0060.00326.35
8.1.250.0070.00028.09
8.1.240.0060.00322.37
8.1.230.0030.00922.59
8.1.220.0030.00617.74
8.1.210.0030.00518.83
8.1.200.0100.00017.21
8.1.190.0050.00317.25
8.1.180.0060.00318.10
8.1.170.0040.00418.57
8.1.160.0000.00818.86
8.1.150.0000.00718.84
8.1.140.0060.00317.43
8.1.130.0070.00017.77
8.1.120.0000.00717.39
8.1.110.0050.00217.36
8.1.100.0040.00417.35
8.1.90.0040.00417.33
8.1.80.0040.00717.31
8.1.70.0000.00717.32
8.1.60.0040.00417.48
8.1.50.0090.00017.52
8.1.40.0000.00717.47
8.1.30.0030.00517.48
8.1.20.0050.00217.66
8.1.10.0040.00417.36
8.1.00.0000.00717.43
8.0.300.0070.00020.03
8.0.290.0060.00316.88
8.0.280.0030.00318.50
8.0.270.0030.00317.24
8.0.260.0000.00817.29
8.0.250.0030.00317.03
8.0.240.0000.00717.05
8.0.230.0040.00416.91
8.0.220.0030.00316.90
8.0.210.0040.00416.85
8.0.200.0040.00417.07
8.0.190.0060.00316.93
8.0.180.0040.00416.84
8.0.170.0060.00317.00
8.0.160.0000.00717.00
8.0.150.0040.00416.88
8.0.140.0070.00016.88
8.0.130.0030.00313.45
8.0.120.0050.00614.55
8.0.110.0050.00614.53
8.0.100.0080.00314.54
8.0.90.0070.00414.53
8.0.80.0100.00314.56
8.0.70.0070.00314.54
8.0.60.0040.00614.51
8.0.50.0030.00714.60
8.0.30.0090.00715.18
8.0.20.0070.00915.38
8.0.10.0080.00314.61
8.0.00.0080.00515.11
7.4.330.0000.00515.10
7.4.320.0000.00616.52
7.4.300.0030.00316.55
7.4.290.0070.00016.48
7.4.280.0000.00716.48
7.4.270.0020.00516.48
7.4.260.0000.00716.55
7.4.250.0040.00514.33
7.4.240.0050.00414.97
7.4.230.0030.00714.43
7.4.220.0080.00614.43
7.4.210.0100.00214.44
7.4.200.0090.00214.43
7.4.190.0080.00413.40
7.4.180.0090.00313.32
7.4.160.0110.00214.33
7.4.150.0060.00914.65
7.4.140.0080.00715.58
7.4.130.0120.00414.90
7.4.120.0100.00614.89
7.4.110.0100.00414.35
7.4.100.0100.00414.46
7.4.90.0070.00614.32
7.4.80.0070.00615.20
7.4.70.0080.00514.35
7.4.60.0060.00714.34
7.4.50.0060.00414.14
7.4.40.0080.00514.16
7.4.30.0090.00314.21
7.4.20.0040.00613.11
7.4.10.0100.00013.12
7.4.00.0070.00613.71
7.3.330.0020.00213.22
7.3.320.0040.00513.15
7.3.310.0060.00414.21
7.3.300.0090.00114.15
7.3.290.0100.00514.32
7.3.280.0100.00515.04
7.3.270.0070.00614.56
7.3.260.0090.00614.24
7.3.250.0100.00614.75
7.3.240.0100.00714.28
7.3.230.0100.00414.28
7.3.220.0070.00413.10
7.3.210.0070.00714.11
7.3.200.0110.00315.15
7.3.190.0070.00614.18
7.3.180.0070.00714.05
7.3.170.0090.00414.06
7.3.160.0070.00414.11
7.3.150.0040.00413.03
7.3.140.0060.00312.96
7.3.130.0050.00313.01
7.3.120.0030.00413.11
7.3.110.0060.00213.03
7.3.100.0020.00613.12
7.3.90.0060.00213.31
7.3.80.0030.00513.12
7.3.70.0050.00513.16
7.3.60.0060.00412.89
7.3.50.0070.00213.05
7.3.40.0060.00513.28
7.3.30.0050.00513.27
7.3.20.0070.00415.06
7.3.10.0110.00115.07
7.3.00.0060.00215.51
7.2.340.0040.01013.19
7.2.330.0100.00514.35
7.2.320.0110.00414.35
7.2.310.0100.00514.37
7.2.300.0090.00514.39
7.2.290.0120.00514.30
7.2.280.0100.00313.26
7.2.270.0100.00513.29
7.2.260.0110.00213.31
7.2.250.0110.00313.31
7.2.240.0110.00313.27
7.2.230.0120.00113.31
7.2.220.0080.00513.33
7.2.210.0070.00713.33
7.2.200.0110.00413.30
7.2.190.0100.00313.39
7.2.180.0090.00513.45
7.2.170.0110.00313.45
7.2.160.0090.00513.33
7.2.150.0100.00415.24
7.2.140.0090.00615.30
7.2.130.0090.00615.85
7.2.120.0110.00215.74
7.2.110.0070.00715.83
7.2.100.0110.00315.75
7.2.90.0070.00615.76
7.2.80.0090.00415.79
7.2.70.0080.00515.72
7.2.60.0100.00416.04
7.2.50.0060.00615.80
7.2.40.0090.00215.87
7.2.30.0080.00615.65
7.2.20.0100.00415.71
7.2.10.0100.00315.76
7.2.00.0060.00816.71
7.1.330.0060.00714.23
7.1.320.0110.00214.28
7.1.310.0060.00714.21
7.1.300.0110.00114.22
7.1.290.0090.00414.26
7.1.280.0080.00414.28
7.1.270.0110.00314.15
7.1.260.0120.00214.23
7.1.250.0050.00714.71
7.1.240.0030.01014.63
7.1.230.0110.00114.72
7.1.220.0080.00314.83
7.1.210.0090.00414.70
7.1.200.0060.00714.94
7.1.190.0090.00414.74
7.1.180.0080.00314.56
7.1.170.0080.00514.58
7.1.160.0090.00314.65
7.1.150.0100.00314.69
7.1.140.0060.00714.74
7.1.130.0110.00214.56
7.1.120.0100.00314.68
7.1.110.0110.00314.79
7.1.100.0050.00715.47
7.1.90.0090.00414.72
7.1.80.0080.00514.82
7.1.70.0060.00515.35
7.1.60.0100.00615.87
7.1.50.0090.00515.31
7.1.40.0060.00614.75
7.1.30.0050.00714.62
7.1.20.0070.00614.58
7.1.10.0070.00514.70
7.1.00.0070.02316.60
7.0.330.0090.00414.42
7.0.320.0090.00214.51
7.0.310.0090.00214.54
7.0.300.0090.00114.49
7.0.290.0080.00314.50
7.0.280.0070.00414.51
7.0.270.0110.00114.47
7.0.260.0070.00414.49
7.0.250.0080.00314.48
7.0.240.0080.00414.52
7.0.230.0060.00514.50
7.0.220.0060.00614.49
7.0.210.0100.00214.50
7.0.200.0040.00615.04
7.0.190.0060.00614.56
7.0.180.0070.00414.54
7.0.170.0050.00614.66
7.0.160.0070.00414.58
7.0.150.0060.00514.49
7.0.140.0080.02116.40
7.0.130.0090.00414.57
7.0.120.0080.00414.62
7.0.110.0060.00514.40
7.0.100.0080.00414.39
7.0.90.0080.00314.56
7.0.80.0090.00214.51
7.0.70.0050.00714.54
7.0.60.0090.01916.34
7.0.50.0060.02415.31
7.0.40.0090.02115.43
7.0.30.0090.01715.41
7.0.20.0150.01915.38
7.0.10.0110.02115.46
7.0.00.0060.01415.39
5.6.400.0070.00512.72
5.6.390.0050.00712.59
5.6.380.0100.00313.24
5.6.370.0070.00512.99
5.6.360.0030.00812.99
5.6.350.0070.00413.14
5.6.340.0060.00513.08
5.6.330.0050.00613.08
5.6.320.0070.00613.16
5.6.310.0070.00513.24
5.6.300.0080.00413.14
5.6.290.0060.00513.29
5.6.280.0050.02415.23
5.6.270.0060.00613.37
5.6.260.0040.00513.08
5.6.250.0090.00413.31
5.6.240.0090.00413.30
5.6.230.0080.00313.21
5.6.220.0080.00413.24
5.6.210.0050.02315.05
5.6.200.0100.01414.44
5.6.190.0110.02115.09
5.6.180.0140.02215.08
5.6.170.0080.01615.06
5.6.160.0100.02315.09
5.6.150.0060.01614.48
5.6.140.0090.02114.47
5.6.130.0090.02214.42
5.6.120.0070.01515.09
5.6.110.0070.02615.16
5.6.100.0060.02515.11
5.6.90.0070.02415.10
5.6.80.0080.02214.78
5.6.70.0090.00213.22
5.6.60.0070.00413.29
5.6.50.0070.00513.03
5.6.40.0070.00413.13
5.6.30.0060.00413.20
5.6.20.0080.00213.18
5.6.10.0060.00513.10
5.6.00.0090.00213.15
5.5.380.0070.00412.15
5.5.370.0070.00312.19
5.5.360.0080.00312.07
5.5.350.0050.02314.13
5.5.340.0070.01213.44
5.5.330.0070.01314.21
5.5.320.0080.02314.15
5.5.310.0150.02214.04
5.5.300.0060.01313.58
5.5.290.0040.01913.52
5.5.280.0080.01114.19
5.5.270.0070.02214.21
5.5.260.0070.02114.32
5.5.250.0070.01214.26
5.5.240.0080.01314.13
5.5.230.0080.00312.03
5.5.220.0060.00512.17
5.5.210.0100.00111.99
5.5.200.0060.00612.04
5.5.190.0040.00712.00
5.5.180.0060.00411.97
5.5.170.0040.00711.96
5.5.160.0040.00612.02
5.5.150.0040.00612.10
5.5.140.0060.00411.92
5.5.130.0060.00411.85
5.5.120.0070.00312.05
5.5.110.0060.00511.92
5.5.100.0100.00012.03
5.5.90.0040.00812.19
5.5.80.0090.00112.12
5.5.70.0070.00412.09
5.5.60.0070.00512.08
5.5.50.0060.00612.08
5.5.40.0080.00212.00
5.5.30.0080.00212.08
5.5.20.0040.00512.11
5.5.10.0040.00712.00
5.5.00.0080.00311.91
5.4.450.0100.01713.93
5.4.440.0310.01713.85
5.4.430.0250.01613.89
5.4.420.0280.01113.94
5.4.410.0220.01913.97
5.4.400.0220.01513.76
5.4.390.0200.01713.87
5.4.380.0130.01713.59
5.4.370.0150.01613.68
5.4.360.0230.01513.63
5.4.350.0190.01813.70
5.4.340.0140.01713.74
5.4.330.0060.00412.01
5.4.320.0050.01412.18
5.4.310.0080.01112.16
5.4.300.0070.01112.11
5.4.290.0080.01112.14
5.4.280.0070.01312.10
5.4.270.0040.01412.13
5.4.260.0090.01112.10
5.4.250.0070.01612.10
5.4.240.0090.01412.07
5.4.230.0080.01212.00
5.4.220.0080.01211.93
5.4.210.0080.01412.06
5.4.200.0060.01612.02
5.4.190.0070.01112.03
5.4.180.0070.01311.99
5.4.170.0050.01412.09
5.4.160.0040.01712.05
5.4.150.0060.01212.07
5.4.140.0060.01312.09
5.4.130.0080.01012.02
5.4.120.0060.01212.08
5.4.110.0080.00912.05
5.4.100.0030.01511.98
5.4.90.0070.01212.08
5.4.80.0060.01412.09
5.4.70.0080.01112.06
5.4.60.0060.01312.08
5.4.50.0070.01211.95
5.4.40.0090.01012.05
5.4.30.0070.01112.03
5.4.20.0030.01512.03
5.4.10.0090.01512.01
5.4.00.0080.01211.80
5.3.290.0080.01212.47
5.3.280.0060.01412.38
5.3.270.0100.01112.36
5.3.260.0060.01512.37
5.3.250.0060.01412.45
5.3.240.0050.01512.37
5.3.230.0080.01312.35
5.3.220.0090.01112.41
5.3.210.0070.01412.21
5.3.200.0050.01512.39
5.3.190.0070.01212.34
5.3.180.0040.01412.48
5.3.170.0060.01312.41
5.3.160.0040.01612.40
5.3.150.0090.01312.33
5.3.140.0030.01612.30
5.3.130.0060.01312.34
5.3.120.0040.01412.46
5.3.110.0070.01312.40
5.3.100.0080.01212.14
5.3.90.0040.01412.20
5.3.80.0030.01712.09
5.3.70.0030.01612.16
5.3.60.0070.01212.28
5.3.50.0060.01312.10
5.3.40.0050.01612.08
5.3.30.0070.01312.21
5.3.20.0070.01212.16
5.3.10.0080.01212.04
5.3.00.0070.01411.92
5.2.170.0060.01311.00
5.2.160.0070.01011.05
5.2.150.0070.01111.03
5.2.140.0040.01210.89
5.2.130.0070.00810.98
5.2.120.0050.01011.02
5.2.110.0050.01011.02
5.2.100.0040.01210.96
5.2.90.0040.01111.00
5.2.80.0060.01010.93
5.2.70.0070.00910.89
5.2.60.0070.01010.89
5.2.50.0030.01310.97
5.2.40.0080.00810.95
5.2.30.0050.01010.87
5.2.20.0080.00710.89
5.2.10.0070.00810.80
5.2.00.0060.00910.80
5.1.60.0030.01010.23
5.1.50.0050.01010.28
5.1.40.0050.00810.23
5.1.30.0060.00810.49
5.1.20.0030.01010.36
5.1.10.0050.01010.29
5.1.00.0040.00910.01
5.0.50.0040.0109.63
5.0.40.0050.0069.60
5.0.30.0030.0119.55
5.0.20.0020.0119.54
5.0.10.0020.0109.54
5.0.00.0040.0109.54
4.4.90.0030.0069.17
4.4.80.0020.0079.16
4.4.70.0020.0069.16
4.4.60.0020.0089.16
4.4.50.0030.0069.16
4.4.40.0020.0099.15
4.4.30.0020.0069.16
4.4.20.0030.0069.18
4.4.10.0030.0069.18
4.4.00.0030.0089.16
4.3.110.0030.0059.14
4.3.100.0030.0059.14
4.3.90.0030.0069.13
4.3.80.0020.0089.12
4.3.70.0040.0059.13
4.3.60.0030.0059.13
4.3.50.0050.0049.13
4.3.40.0030.0089.10
4.3.30.0010.0088.80
4.3.20.0020.0068.80
4.3.10.0020.0078.79
4.3.00.0010.0089.91

preferences:
54.48 ms | 401 KiB | 5 Q