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/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.40.0090.00618.73
8.3.30.0110.00319.14
8.3.20.0070.00020.35
8.3.10.0070.00021.91
8.3.00.0040.00419.38
8.2.170.0040.01122.96
8.2.160.0120.00620.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00321.00
8.2.110.0070.00322.04
8.2.100.0110.00417.72
8.2.90.0030.00619.12
8.2.80.0080.00017.97
8.2.70.0000.00817.38
8.2.60.0040.00417.80
8.2.50.0030.00518.07
8.2.40.0000.00818.16
8.2.30.0050.00317.88
8.2.20.0040.00417.69
8.2.10.0000.00718.02
8.2.00.0040.00417.61
8.1.270.0000.00823.96
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0090.00023.81
8.1.230.0040.00818.98
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0080.00417.22
8.1.190.0030.00617.10
8.1.180.0030.00518.10
8.1.170.0060.00318.52
8.1.160.0040.00421.99
8.1.150.0040.00418.87
8.1.140.0040.00717.27
8.1.130.0070.00017.78
8.1.120.0000.00717.31
8.1.110.0040.00417.41
8.1.100.0000.00717.37
8.1.90.0080.00017.39
8.1.80.0060.00317.38
8.1.70.0000.00717.37
8.1.60.0080.00017.55
8.1.50.0030.00517.46
8.1.40.0080.00017.33
8.1.30.0080.00017.53
8.1.20.0000.00817.51
8.1.10.0000.00717.34
8.1.00.0000.00917.29
8.0.300.0070.00018.77
8.0.290.0040.00416.88
8.0.280.0000.00718.32
8.0.270.0000.00717.16
8.0.260.0030.00317.27
8.0.250.0070.00016.97
8.0.240.0000.00717.04
8.0.230.0050.00316.90
8.0.220.0000.00716.90
8.0.210.0040.00416.95
8.0.200.0040.00416.99
8.0.190.0080.00017.08
8.0.180.0030.00516.96
8.0.170.0030.00616.91
8.0.160.0070.00016.99
8.0.150.0040.00416.83
8.0.140.0000.00716.74
8.0.130.0000.00813.48
8.0.120.0040.00714.57
8.0.110.0080.00314.59
8.0.100.0070.00414.56
8.0.90.0090.00214.64
8.0.80.0060.00814.59
8.0.70.0070.00414.52
8.0.60.0030.00714.58
8.0.50.0060.00514.51
8.0.30.0080.01015.22
8.0.20.0080.00815.43
8.0.10.0070.00414.62
8.0.00.0070.00615.04
7.4.330.0050.00015.14
7.4.320.0030.00316.54
7.4.300.0030.00316.51
7.4.290.0000.00716.54
7.4.280.0000.00816.54
7.4.270.0000.00716.36
7.4.260.0040.00416.50
7.4.250.0040.00514.36
7.4.240.0050.00414.90
7.4.230.0050.00414.23
7.4.220.0090.00614.37
7.4.210.0090.00414.34
7.4.200.0090.00114.42
7.4.190.0100.00213.28
7.4.180.0080.00413.32
7.4.160.0070.00814.36
7.4.150.0090.00614.65
7.4.140.0100.00615.55
7.4.130.0070.00914.86
7.4.120.0090.00914.81
7.4.110.0120.00314.29
7.4.100.0090.00714.41
7.4.90.0060.00714.30
7.4.80.0100.00315.14
7.4.70.0030.01014.33
7.4.60.0070.00714.26
7.4.50.0050.00514.14
7.4.40.0080.00714.06
7.4.30.0090.00514.21
7.4.20.0030.00712.93
7.4.10.0070.00313.20
7.4.00.0050.00713.70
7.3.330.0030.00313.18
7.3.320.0060.00413.18
7.3.310.0030.00614.25
7.3.300.0090.00214.24
7.3.290.0070.00714.24
7.3.280.0070.00815.10
7.3.270.0090.00514.68
7.3.260.0130.00214.27
7.3.250.0100.00614.76
7.3.240.0130.00414.37
7.3.230.0090.00414.27
7.3.220.0070.00313.04
7.3.210.0090.00514.16
7.3.200.0090.00415.15
7.3.190.0090.00514.11
7.3.180.0090.00314.03
7.3.170.0080.00414.03
7.3.160.0070.00414.16
7.3.150.0060.00213.16
7.3.140.0010.00613.01
7.3.130.0040.00413.15
7.3.120.0020.00813.72
7.3.110.0050.00313.59
7.3.100.0050.00513.71
7.3.90.0050.00213.85
7.3.80.0050.00413.67
7.3.70.0060.00213.51
7.3.60.0030.00613.42
7.3.50.0040.00613.58
7.3.40.0050.00713.73
7.3.30.0040.00813.72
7.3.20.0070.00515.50
7.3.10.0060.00515.54
7.3.00.0040.00615.39
7.2.340.0090.00313.31
7.2.330.0090.00614.30
7.2.320.0070.01014.36
7.2.310.0060.00814.27
7.2.300.0120.00314.33
7.2.290.0090.00714.37
7.2.280.0060.00813.31
7.2.270.0090.00413.17
7.2.260.0090.00413.21
7.2.250.0100.00213.26
7.2.240.0080.00313.82
7.2.230.0070.00613.92
7.2.220.0050.00913.80
7.2.210.0090.00213.74
7.2.200.0080.00513.97
7.2.190.0060.00713.94
7.2.180.0050.00713.91
7.2.170.0060.00513.87
7.2.160.0080.00313.88
7.2.150.0100.00415.81
7.2.140.0050.01015.64
7.2.130.0080.00515.96
7.2.120.0090.00515.69
7.2.110.0100.00315.72
7.2.100.0090.00615.86
7.2.90.0120.00115.79
7.2.80.0110.00315.67
7.2.70.0120.00315.71
7.2.60.0080.00616.12
7.2.50.0090.00615.70
7.2.40.0080.00615.85
7.2.30.0080.00615.72
7.2.20.0090.00515.80
7.2.10.0080.00815.74
7.2.00.0090.00516.75
7.1.330.0080.00414.72
7.1.320.0070.00614.68
7.1.310.0090.00514.76
7.1.300.0060.00514.71
7.1.290.0100.00414.81
7.1.280.0100.00314.68
7.1.270.0090.00414.76
7.1.260.0080.00514.73
7.1.250.0040.01014.71
7.1.240.0130.00014.16
7.1.230.0090.00314.26
7.1.220.0120.00014.22
7.1.210.0070.00514.12
7.1.200.0050.00714.74
7.1.190.0120.00014.29
7.1.180.0100.00214.05
7.1.170.0090.00314.21
7.1.160.0090.00514.15
7.1.150.0070.00614.14
7.1.140.0090.00414.13
7.1.130.0080.00514.10
7.1.120.0110.00214.16
7.1.110.0120.00114.26
7.1.100.0070.00615.45
7.1.90.0080.00514.13
7.1.80.0080.00514.18
7.1.70.0060.00515.17
7.1.60.0060.01115.95
7.1.50.0070.00515.16
7.1.40.0050.00814.25
7.1.30.0120.00114.24
7.1.20.0090.00514.16
7.1.10.0030.01014.22
7.1.00.0110.02416.91
7.0.330.0080.00514.08
7.0.320.0080.00514.12
7.0.310.0080.00414.17
7.0.300.0100.00314.06
7.0.290.0090.00514.16
7.0.280.0100.00313.99
7.0.270.0110.00114.11
7.0.260.0110.00214.17
7.0.250.0060.00614.11
7.0.240.0060.00614.17
7.0.230.0070.00514.21
7.0.220.0050.00714.17
7.0.210.0060.00614.19
7.0.200.0050.00615.04
7.0.190.0090.00314.25
7.0.180.0060.00614.12
7.0.170.0110.00214.27
7.0.160.0090.00414.05
7.0.150.0080.00614.03
7.0.140.0080.02616.70
7.0.130.0070.00714.04
7.0.120.0100.00314.20
7.0.110.0100.00513.97
7.0.100.0090.00414.17
7.0.90.0100.00414.06
7.0.80.0100.00313.97
7.0.70.0110.00214.12
7.0.60.0080.01816.00
7.0.50.0090.01715.30
7.0.40.0110.03116.02
7.0.30.0140.02116.04
7.0.20.0150.02416.08
7.0.10.0030.02116.11
7.0.00.0130.01416.04
5.6.400.0080.00412.61
5.6.390.0090.00412.58
5.6.380.0100.00312.67
5.6.370.0080.00512.56
5.6.360.0070.00612.53
5.6.350.0060.00612.73
5.6.340.0090.00412.75
5.6.330.0110.00212.65
5.6.320.0120.00112.58
5.6.310.0090.00412.49
5.6.300.0110.00212.55
5.6.290.0140.00012.59
5.6.280.0110.02415.38
5.6.270.0100.00312.55
5.6.260.0040.00812.75
5.6.250.0090.00412.73
5.6.240.0120.00112.71
5.6.230.0070.00712.79
5.6.220.0110.00212.72
5.6.210.0060.03015.33
5.6.200.0090.02814.62
5.6.190.0090.01815.43
5.6.180.0240.02415.35
5.6.170.0150.01415.35
5.6.160.0140.02815.29
5.6.150.0080.01714.45
5.6.140.0090.02514.46
5.6.130.0070.03114.53
5.6.120.0090.01915.54
5.6.110.0090.03115.50
5.6.100.0140.02315.44
5.6.90.0110.02815.39
5.6.80.0080.02715.20
5.6.70.0090.00412.87
5.6.60.0100.00312.79
5.6.50.0110.00212.45
5.6.40.0090.00412.57
5.6.30.0060.00612.63
5.6.20.0090.00312.45
5.6.10.0090.00312.42
5.6.00.0110.00212.46
5.5.380.0120.00212.68
5.5.370.0070.00612.76
5.5.360.0080.00612.62
5.5.350.0160.02715.18
5.5.340.0100.02414.34
5.5.330.0130.02515.20
5.5.320.0140.03015.21
5.5.310.0160.01315.11
5.5.300.0080.03114.28
5.5.290.0080.03014.30
5.5.280.0100.02415.21
5.5.270.0080.02615.37
5.5.260.0120.02715.24
5.5.250.0080.03115.37
5.5.240.0140.02515.23
5.5.230.0060.00612.70
5.5.220.0080.00312.73
5.5.210.0100.00112.79
5.5.200.0100.00312.44
5.5.190.0090.00312.53
5.5.180.0050.00712.43
5.5.170.0100.00212.44
5.5.160.0110.00212.52
5.5.150.0060.00612.54
5.5.140.0090.00312.41
5.5.130.0080.00512.41
5.5.120.0080.00412.36
5.5.110.0120.00212.56
5.5.100.0100.00312.56
5.5.90.0080.00412.61
5.5.80.0070.00512.68
5.5.70.0100.00212.73
5.5.60.0050.00812.59
5.5.50.0090.00412.54
5.5.40.0060.00612.65
5.5.30.0100.00212.73
5.5.20.0080.00412.50
5.5.10.0080.00412.47
5.5.00.0090.00412.66
5.4.450.0210.01814.78
5.4.440.0160.01714.96
5.4.430.0230.01514.68
5.4.420.0140.01814.99
5.4.410.0120.01814.88
5.4.400.0150.01414.72
5.4.390.0170.01714.61
5.4.380.0200.01814.53
5.4.370.0200.01614.62
5.4.360.0130.02314.57
5.4.350.0180.02214.52
5.4.340.0160.02314.56
5.4.330.0070.00512.41
5.4.320.0090.01512.59
5.4.310.0090.01812.59
5.4.300.0120.01312.58
5.4.290.0060.01812.57
5.4.280.0050.01712.43
5.4.270.0060.01612.54
5.4.260.0090.01912.48
5.4.250.0060.01612.40
5.4.240.0070.01512.53
5.4.230.0110.01412.29
5.4.220.0080.01412.32
5.4.210.0100.01312.40
5.4.200.0070.01612.31
5.4.190.0090.01312.39
5.4.180.0060.01612.33
5.4.170.0060.01712.41
5.4.160.0060.01612.55
5.4.150.0080.01412.49
5.4.140.0070.01512.53
5.4.130.0090.01312.49
5.4.120.0040.01812.41
5.4.110.0050.01712.37
5.4.100.0100.01212.44
5.4.90.0080.01412.34
5.4.80.0090.01612.36
5.4.70.0070.01812.49
5.4.60.0080.01512.39
5.4.50.0080.01512.38
5.4.40.0080.01412.29
5.4.30.0060.01512.38
5.4.20.0080.01512.36
5.4.10.0090.01312.39
5.4.00.0080.01412.04
5.3.290.0100.01512.92
5.3.280.0080.01712.78
5.3.270.0080.01613.01
5.3.260.0070.01613.06
5.3.250.0060.01612.98
5.3.240.0080.01412.96
5.3.230.0070.01712.75
5.3.220.0080.01512.80
5.3.210.0070.01712.85
5.3.200.0110.01312.84
5.3.190.0080.01512.79
5.3.180.0060.01612.88
5.3.170.0080.01413.05
5.3.160.0070.01513.00
5.3.150.0080.01712.84
5.3.140.0090.01512.95
5.3.130.0080.01512.92
5.3.120.0090.01512.85
5.3.110.0080.01612.94
5.3.100.0080.01512.70
5.3.90.0070.01612.82
5.3.80.0070.01512.50
5.3.70.0050.01812.64
5.3.60.0060.01612.72
5.3.50.0070.01412.61
5.3.40.0100.01312.61
5.3.30.0050.01612.65
5.3.20.0100.01212.55
5.3.10.0080.01312.38
5.3.00.0080.01412.32
5.2.170.0060.01411.11
5.2.160.0060.01411.09
5.2.150.0080.01011.00
5.2.140.0030.01511.06
5.2.130.0070.01211.04
5.2.120.0070.01311.04
5.2.110.0040.01611.04
5.2.100.0010.01711.04
5.2.90.0050.01411.04
5.2.80.0050.01410.92
5.2.70.0070.01310.99
5.2.60.0070.01110.92
5.2.50.0070.01110.87
5.2.40.0050.01211.05
5.2.30.0040.01310.88
5.2.20.0040.01310.80
5.2.10.0070.01110.82
5.2.00.0060.01210.72
5.1.60.0040.01210.08
5.1.50.0050.01010.08
5.1.40.0050.01010.12
5.1.30.0080.01210.26
5.1.20.0040.01210.20
5.1.10.0010.01510.11
5.1.00.0040.01210.04
5.0.50.0040.0099.21
5.0.40.0050.0089.16
5.0.30.0050.0129.10
5.0.20.0040.0089.09
5.0.10.0030.0109.08
5.0.00.0060.0119.08
4.4.90.0040.0078.59
4.4.80.0040.0068.58
4.4.70.0040.0068.58
4.4.60.0010.0088.58
4.4.50.0030.0078.58
4.4.40.0010.0118.56
4.4.30.0030.0068.58
4.4.20.0020.0078.61
4.4.10.0040.0058.61
4.4.00.0010.0118.58
4.3.110.0040.0068.55
4.3.100.0020.0098.55
4.3.90.0030.0068.54
4.3.80.0040.0098.52
4.3.70.0050.0048.54
4.3.60.0040.0058.54
4.3.50.0040.0058.54
4.3.40.0020.0108.51
4.3.30.0020.0098.10
4.3.20.0030.0068.09
4.3.10.0030.0078.07
4.3.00.0020.00612.22

preferences:
71.07 ms | 400 KiB | 5 Q