3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Filesystem { const DISABLED = 0; const DEBUG = 1; const INFO = 2; const WARN = 4; const ERROR = 8; private static $ERROR_LEVELS = array(self::DISABLED, self::DEBUG, self::INFO, self::WARN, self::ERROR); public static $DEFAULT_LEVEL = self::DEBUG || self::INFO; }

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.70.0160.00318.18
8.3.60.0100.00716.50
8.3.50.0150.00516.51
8.3.40.0060.00918.77
8.3.30.0080.00618.46
8.3.20.0080.00018.48
8.3.10.0080.00020.45
8.3.00.0090.00017.38
8.2.180.0120.00418.41
8.2.170.0070.01022.96
8.2.160.0130.00319.16
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0030.00626.16
8.2.120.0070.00019.71
8.2.110.0090.00021.03
8.2.100.0090.00317.59
8.2.90.0030.00619.10
8.2.80.0040.00417.80
8.2.70.0040.00417.25
8.2.60.0050.00317.91
8.2.50.0040.00418.07
8.2.40.0000.00918.16
8.2.30.0040.00417.81
8.2.20.0070.00017.57
8.2.10.0000.00917.61
8.2.00.0030.00517.45
8.1.280.0000.01425.92
8.1.270.0080.00024.66
8.1.260.0070.00026.35
8.1.250.0050.00328.09
8.1.240.0050.00520.55
8.1.230.0060.00620.87
8.1.220.0040.00417.74
8.1.210.0040.00418.89
8.1.200.0040.00417.10
8.1.190.0050.00217.30
8.1.180.0030.00618.10
8.1.170.0030.00618.86
8.1.160.0070.00018.67
8.1.150.0040.00418.36
8.1.140.0020.00517.42
8.1.130.0030.00317.76
8.1.120.0000.00717.31
8.1.110.0040.00417.28
8.1.100.0030.00317.30
8.1.90.0000.00717.26
8.1.80.0030.00617.35
8.1.70.0000.00717.23
8.1.60.0000.00717.41
8.1.50.0000.00917.32
8.1.40.0090.00017.41
8.1.30.0030.00517.49
8.1.20.0040.00417.55
8.1.10.0040.00417.38
8.1.00.0040.00417.29
8.0.300.0000.00719.90
8.0.290.0080.00016.58
8.0.280.0080.00018.24
8.0.270.0070.00017.09
8.0.260.0000.00716.70
8.0.250.0040.00416.83
8.0.240.0030.00316.71
8.0.230.0070.00016.82
8.0.220.0040.00416.65
8.0.210.0070.00016.69
8.0.200.0000.00616.69
8.0.190.0050.00216.83
8.0.180.0000.00716.84
8.0.170.0000.00816.80
8.0.160.0000.00716.70
8.0.150.0040.00416.71
8.0.140.0030.00716.63
8.0.130.0000.00613.20
8.0.120.0070.00016.67
8.0.110.0070.00016.74
8.0.100.0040.00416.83
8.0.90.0050.00316.59
8.0.80.0070.01016.75
8.0.70.0040.00416.78
8.0.60.0000.00716.82
8.0.50.0000.00716.63
8.0.30.0090.00916.83
8.0.20.0080.01016.86
8.0.10.0070.00016.71
8.0.00.0080.01016.70
7.4.330.0000.00512.77
7.4.320.0060.00016.52
7.4.300.0000.00716.48
7.4.290.0020.00516.31
7.4.280.0000.00916.28
7.4.270.0000.00816.40
7.4.260.0070.00013.21
7.4.250.0040.00416.37
7.4.240.0000.00716.39
7.4.230.0070.00016.45
7.4.220.0040.01516.32
7.4.210.0070.00916.47
7.4.200.0070.00016.38
7.4.190.0030.00316.48
7.4.160.0000.01616.27
7.4.150.0150.00916.20
7.4.140.0090.01116.26
7.4.130.0140.00316.30
7.4.120.0080.01416.28
7.4.110.0030.01416.38
7.4.100.0100.00716.25
7.4.90.0120.00616.11
7.4.80.0030.01716.36
7.4.70.0100.01016.06
7.4.60.0030.01316.45
7.4.50.0060.00316.43
7.4.40.0080.00416.32
7.4.30.0110.00616.29
7.4.00.0080.00814.51
7.3.330.0000.00612.95
7.3.320.0030.00313.17
7.3.310.0070.00016.25
7.3.300.0030.00316.02
7.3.290.0090.00616.11
7.3.280.0090.00816.15
7.3.270.0180.00016.15
7.3.260.0090.00816.30
7.3.250.0060.01216.43
7.3.240.0170.00316.38
7.3.230.0140.00916.20
7.3.210.0030.01416.26
7.3.200.0140.00519.39
7.3.190.0110.00916.13
7.3.180.0100.00916.26
7.3.170.0060.00916.41
7.3.160.0030.01216.43
7.3.120.0060.00914.83
7.2.330.0090.00916.26
7.2.320.0060.01016.32
7.2.310.0090.01516.43
7.2.300.0110.01116.16
7.2.290.0060.01216.22
7.1.200.0070.00315.66
7.1.70.0000.00716.65
7.1.60.0140.00719.40
7.1.50.0100.01016.80
7.1.00.0030.07722.57
7.0.200.0280.00314.43
7.0.140.0070.06722.16
7.0.120.0070.07021.96
7.0.60.0170.04720.01
7.0.50.0100.03317.80
7.0.40.0100.06720.11
7.0.30.0370.07020.26
7.0.20.0430.05720.09
7.0.10.0030.09020.19
7.0.00.0170.07320.30
5.6.280.0100.06721.12
5.6.210.0030.08720.48
5.6.200.0130.07318.13
5.6.190.0100.07720.46
5.6.180.0330.07320.47
5.6.170.0230.07720.57
5.6.160.0070.08720.44
5.6.150.0100.03718.23
5.6.140.0000.04718.17
5.6.130.0070.08318.28
5.6.120.0100.08021.03
5.6.110.0070.08321.03
5.6.100.0170.07720.97
5.6.90.0100.04321.10
5.6.80.0130.06720.41
5.5.350.0300.07320.46
5.5.340.0070.06718.10
5.5.330.0030.04720.29
5.5.320.0100.04320.35
5.5.310.0230.05320.38
5.5.300.0030.03717.99
5.5.290.0170.03018.03
5.5.280.0070.07720.68
5.5.270.0070.04020.76
5.5.260.0130.05020.72
5.5.250.0000.05720.70
5.5.240.0000.08020.16
5.4.450.0130.07019.30
5.4.440.0030.06019.25
5.4.430.0130.05719.17
5.4.420.0070.04719.42
5.4.410.0030.08019.37
5.4.400.0030.04018.86
5.4.390.0030.08318.98
5.4.380.0030.06719.09
5.4.370.0100.04019.14
5.4.360.0070.05718.85
5.4.350.0000.04019.08
5.4.340.0170.02718.98
5.4.320.0030.04319.19
5.4.310.0100.04019.21
5.4.300.0030.05019.11
5.4.290.0100.05019.00
5.4.280.0100.07019.24
5.4.270.0130.07319.24
5.4.260.0070.05719.24
5.4.250.0130.03719.20
5.4.240.0070.08019.14
5.4.230.0070.05719.14
5.4.220.0070.06719.17
5.4.210.0170.03319.19
5.4.200.0030.07719.20
5.4.190.0100.05318.86
5.4.180.0130.07319.15
5.4.170.0030.04718.99
5.4.160.0000.07718.84
5.4.150.0070.07719.22
5.4.140.0070.07316.37
5.4.130.0070.06716.37
5.4.120.0200.06316.36
5.4.110.0100.05316.43
5.4.100.0130.04016.30
5.4.90.0100.06716.45
5.4.80.0130.06716.65
5.4.70.0100.05316.44
5.4.60.0000.06716.39
5.4.50.0070.07016.37
5.4.40.0070.07316.40
5.4.30.0100.04316.38
5.4.20.0030.08016.27
5.4.10.0030.04316.34
5.4.00.0070.07015.87
5.3.290.0000.08014.69
5.3.280.0070.04014.59
5.3.270.0070.03714.62
5.3.260.0070.07314.61
5.3.250.0030.07714.61
5.3.240.0070.07714.62
5.3.230.0070.05014.61
5.3.220.0030.06314.60
5.3.210.0070.06714.61
5.3.200.0100.06014.58
5.3.190.0070.07314.59
5.3.180.0130.07014.59
5.3.170.0000.08714.61
5.3.160.0130.03014.71
5.3.150.0000.05014.57
5.3.140.0100.04314.59
5.3.130.0170.04714.54
5.3.120.0130.07014.55
5.3.110.0070.06714.54
5.3.100.0070.04014.05
5.3.90.0130.06314.05
5.3.80.0170.06714.04
5.3.70.0070.06713.93
5.3.60.0030.05014.02
5.3.50.0030.03714.03
5.3.40.0100.03713.95
5.3.30.0030.03713.94
5.3.20.0030.03713.70
5.3.10.0030.03713.80
5.3.00.0000.03713.70

preferences:
58.47 ms | 401 KiB | 5 Q