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); }

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.0040.01116.38
8.3.50.0090.00917.37
8.3.40.0040.01118.34
8.3.30.0180.00318.64
8.3.20.0080.00018.48
8.3.10.0040.00420.27
8.3.00.0030.00619.25
8.2.180.0090.00918.23
8.2.170.0120.00322.96
8.2.160.0080.00521.06
8.2.150.0030.00624.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00319.23
8.2.110.0200.00322.21
8.2.100.0060.00617.59
8.2.90.0040.00417.78
8.2.80.0050.00317.97
8.2.70.0030.00517.38
8.2.60.0030.00617.68
8.2.50.0030.00618.07
8.2.40.0020.00517.84
8.2.30.0040.00417.80
8.2.20.0050.00317.51
8.2.10.0000.00717.48
8.2.00.0000.01017.46
8.1.280.0110.00325.92
8.1.270.0050.00324.66
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0030.00620.62
8.1.230.0090.00320.88
8.1.220.0000.00817.74
8.1.210.0060.00318.91
8.1.200.0040.00716.98
8.1.190.0070.00017.28
8.1.180.0030.00518.10
8.1.170.0040.00418.79
8.1.160.0070.00018.76
8.1.150.0000.00718.51
8.1.140.0070.00017.31
8.1.130.0040.00417.80
8.1.120.0000.00717.38
8.1.110.0080.00017.22
8.1.100.0030.00317.28
8.1.90.0000.00717.36
8.1.80.0040.00417.36
8.1.70.0040.00417.25
8.1.60.0070.00017.35
8.1.50.0040.00417.24
8.1.40.0000.00717.35
8.1.30.0000.00817.34
8.1.20.0000.00817.54
8.1.10.0040.00417.44
8.1.00.0040.00417.31
8.0.300.0040.00419.74
8.0.290.0070.00016.63
8.0.280.0000.00718.30
8.0.270.0000.00717.13
8.0.260.0040.00416.70
8.0.250.0000.00716.79
8.0.240.0080.00016.82
8.0.230.0000.00716.79
8.0.220.0000.00716.64
8.0.210.0050.00216.75
8.0.200.0060.00016.70
8.0.190.0070.00016.71
8.0.180.0040.00416.78
8.0.170.0000.00816.75
8.0.160.0040.00416.79
8.0.150.0000.00916.67
8.0.140.0040.00416.63
8.0.130.0000.00513.16
8.0.120.0000.00716.71
8.0.110.0040.00416.75
8.0.100.0000.00716.78
8.0.90.0000.00816.67
8.0.80.0090.01016.71
8.0.70.0040.00416.80
8.0.60.0050.00216.63
8.0.50.0040.00416.73
8.0.30.0120.00716.95
8.0.20.0070.01116.88
8.0.10.0000.00716.82
8.0.00.0090.00916.68
7.4.330.0000.00612.97
7.4.320.0000.00616.51
7.4.300.0000.00616.35
7.4.290.0030.00316.34
7.4.280.0040.00416.43
7.4.270.0000.00616.38
7.4.260.0060.00013.21
7.4.250.0050.00216.45
7.4.240.0070.00016.48
7.4.230.0030.00316.16
7.4.220.0060.01216.46
7.4.210.0100.00716.42
7.4.200.0000.00816.55
7.4.190.0000.00716.33
7.4.160.0110.00416.37
7.4.150.0100.00716.21
7.4.140.0190.00316.27
7.4.130.0080.01116.35
7.4.120.0140.00416.28
7.4.110.0060.01016.34
7.4.100.0130.00316.46
7.4.90.0200.01216.14
7.4.80.0140.00419.39
7.4.70.0120.00616.56
7.4.60.0090.00916.14
7.4.50.0030.00616.35
7.4.40.0070.01116.20
7.4.30.0090.00616.26
7.4.00.0060.00715.00
7.3.330.0070.00013.04
7.3.320.0030.00313.13
7.3.310.0000.00716.12
7.3.300.0040.00416.05
7.3.290.0110.00316.12
7.3.280.0100.00616.14
7.3.270.0110.00616.10
7.3.260.0170.00416.42
7.3.250.0110.00716.31
7.3.240.0100.01316.12
7.3.230.0110.00816.47
7.3.210.0080.00816.20
7.3.200.0060.01016.15
7.3.190.0060.01116.48
7.3.180.0120.00316.27
7.3.170.0080.00816.11
7.3.160.0100.01016.45
7.3.120.0150.00014.49
7.2.330.0070.01116.53
7.2.320.0100.00616.39
7.2.310.0030.01816.51
7.2.300.0100.00716.19
7.2.290.0060.01116.27
7.2.00.0030.00719.25
7.1.100.0070.01018.05
7.1.70.0000.00716.79
7.1.60.0110.01119.40
7.1.50.0160.00716.70
7.1.00.0070.07322.40
7.0.200.0230.00314.83
7.0.140.0130.06322.18
7.0.120.0030.06321.96
7.0.60.0170.03019.91
7.0.50.0130.07317.93
7.0.40.0030.08720.18
7.0.30.0400.06020.21
7.0.20.0230.07320.23
7.0.10.0200.04720.33
7.0.00.0100.07320.34
5.6.280.0030.07321.11
5.6.210.0030.03720.75
5.6.200.0030.04718.19
5.6.190.0100.08320.56
5.6.180.0330.03720.63
5.6.170.0230.03320.67
5.6.160.0100.05020.55
5.6.150.0070.06718.21
5.6.140.0100.07718.18
5.6.130.0030.08018.27
5.6.120.0230.07320.97
5.6.110.0100.03721.11
5.6.100.0070.06721.10
5.6.90.0130.08021.00
5.6.80.0000.09320.50
5.6.70.4370.04020.39
5.5.350.0300.06320.32
5.5.340.0100.08018.09
5.5.330.0030.07020.27
5.5.320.0100.04320.44
5.5.310.0370.07320.38
5.5.300.0030.03717.98
5.5.290.0130.07317.93
5.5.280.0100.05720.73
5.5.270.0100.06720.97
5.5.260.0100.08020.72
5.5.250.0200.07720.69
5.5.240.0100.07320.23
5.4.450.0030.04019.47
5.4.440.0030.05319.40
5.4.430.0030.03719.34
5.4.420.0030.04319.47
5.4.410.0000.05319.31
5.4.400.0000.04318.98
5.4.390.0070.04719.02
5.4.380.0030.05018.87
5.4.370.0070.04019.24
5.4.360.0100.04319.15
5.4.350.0100.07319.14
5.4.340.0070.06319.15
5.4.320.0100.07319.20
5.4.310.0030.08319.24
5.4.300.0000.04019.11
5.4.290.0070.08018.84
5.4.280.0030.05018.87
5.4.270.0130.03318.87
5.4.260.0070.04319.20
5.4.250.0100.05019.14
5.4.240.0100.07019.02
5.4.230.0030.06318.84
5.4.220.0100.03019.23
5.4.210.0130.06719.11
5.4.200.0070.04719.23
5.4.190.0100.03318.84
5.4.180.0130.07019.07
5.4.170.0030.05718.83
5.4.160.0100.07719.12
5.4.150.0030.05019.13
5.4.140.0000.04016.35
5.4.130.0030.07016.49
5.4.120.0130.06716.37
5.4.110.0170.02716.42
5.4.100.0030.07316.34
5.4.90.0100.05316.53
5.4.80.0130.06716.26
5.4.70.0030.05716.44
5.4.60.0100.05716.28
5.4.50.0100.03016.25
5.4.40.0100.03316.35
5.4.30.0030.03716.38
5.4.20.0070.06716.27
5.4.10.0070.06716.34
5.4.00.0070.06715.93
5.3.290.0030.05714.71
5.3.280.0070.05314.66
5.3.270.0070.06014.63
5.3.260.0070.08314.60
5.3.250.0070.07714.64
5.3.240.0030.04014.62
5.3.230.0000.05014.66
5.3.220.0100.04014.71
5.3.210.0070.08014.51
5.3.200.0030.07014.60
5.3.190.0070.04714.71
5.3.180.0030.08014.61
5.3.170.0030.06014.55
5.3.160.0030.07014.59
5.3.150.0070.03714.59
5.3.140.0100.05714.70
5.3.130.0000.05314.56
5.3.120.0030.07314.57
5.3.110.0100.07314.59
5.3.100.0030.04013.91
5.3.90.0100.06714.07
5.3.80.0030.05314.05
5.3.70.0070.07314.01
5.3.60.0070.04713.95
5.3.50.0070.04014.09
5.3.40.0100.03313.91
5.3.30.0030.04013.96
5.3.20.0070.03713.74
5.3.10.0030.03313.64
5.3.00.0000.04313.77

preferences:
40.81 ms | 401 KiB | 5 Q