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 = 6; } echo Filesystem::$DEFAULT_LEVEL & Filesystem::DEBUg;

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.0100.01016.50
8.3.50.0080.01016.41
8.3.40.0090.00618.79
8.3.30.0110.00418.67
8.3.20.0030.00518.77
8.3.10.0000.00920.52
8.3.00.0030.00519.38
8.2.180.0170.00316.63
8.2.170.0110.00322.96
8.2.160.0120.00318.95
8.2.150.0000.00925.66
8.2.140.0000.00924.66
8.2.130.0070.00026.16
8.2.120.0060.00320.70
8.2.110.0100.00021.18
8.2.100.0070.00417.84
8.2.90.0060.00319.38
8.2.80.0060.00319.28
8.2.70.0000.00817.73
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0080.00018.16
8.2.30.0060.00317.95
8.2.20.0030.00719.34
8.2.10.0000.00917.66
8.2.00.0050.00317.65
8.1.280.0070.01425.92
8.1.270.0060.00623.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0040.00422.61
8.1.230.0070.00420.82
8.1.220.0000.00817.74
8.1.210.0080.00018.89
8.1.200.0060.00317.35
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0060.00318.84
8.1.160.0040.00418.83
8.1.150.0070.00018.59
8.1.140.0040.00417.38
8.1.130.0030.00317.83
8.1.120.0000.00717.31
8.1.110.0070.00017.42
8.1.100.0000.00717.39
8.1.90.0000.00717.46
8.1.80.0000.00717.30
8.1.70.0040.00417.38
8.1.60.0060.00317.47
8.1.50.0030.00517.38
8.1.40.0000.00817.43
8.1.30.0040.00417.54
8.1.20.0040.00417.43
8.1.10.0000.00717.38
8.1.00.0040.00417.52
8.0.300.0050.00220.03
8.0.290.0040.00416.60
8.0.280.0070.00018.44
8.0.270.0000.00717.25
8.0.260.0040.00416.94
8.0.250.0040.00417.04
8.0.240.0040.00417.01
8.0.230.0040.00416.90
8.0.220.0040.00416.98
8.0.210.0070.00017.02
8.0.200.0000.00617.00
8.0.190.0000.00717.04
8.0.180.0040.00416.97
8.0.170.0000.00916.89
8.0.160.0040.00417.02
8.0.150.0000.00816.94
8.0.140.0050.00316.94
8.0.130.0030.00313.35
8.0.120.0030.00616.88
8.0.110.0000.00816.92
8.0.100.0040.00416.82
8.0.90.0080.00016.90
8.0.80.0100.01016.96
8.0.70.0040.00416.96
8.0.60.0030.00516.95
8.0.50.0000.00716.99
8.0.30.0090.00917.03
8.0.20.0100.01017.12
8.0.10.0000.00816.88
8.0.00.0120.00816.90
7.4.330.0000.00512.89
7.4.320.0000.00616.34
7.4.300.0050.00216.47
7.4.290.0070.00016.50
7.4.280.0070.00016.43
7.4.270.0020.00516.51
7.4.260.0030.00313.19
7.4.250.0060.00316.31
7.4.240.0000.00716.41
7.4.230.0000.00716.27
7.4.220.0090.01216.34
7.4.210.0060.00916.63
7.4.200.0030.00316.37
7.4.190.0040.00416.59
7.4.160.0140.00416.35
7.4.150.0130.00316.46
7.4.140.0130.00516.46
7.4.130.0120.00616.47
7.4.120.0160.00416.45
7.4.110.0110.01116.52
7.4.100.0100.01016.56
7.4.90.0040.01416.46
7.4.80.0100.00716.38
7.4.70.0070.01116.43
7.4.60.0120.00916.35
7.4.50.0030.00316.37
7.4.40.0090.00316.13
7.4.30.0090.00616.59
7.4.00.0060.00914.69
7.3.330.0000.00713.25
7.3.320.0050.00013.27
7.3.310.0030.00316.26
7.3.300.0000.00716.30
7.3.290.0090.00716.31
7.3.280.0080.00616.33
7.3.270.0090.00916.41
7.3.260.0110.00716.25
7.3.250.0100.00816.29
7.3.240.0180.00016.37
7.3.230.0070.01016.28
7.3.210.0100.00716.41
7.3.200.0100.00719.39
7.3.190.0030.01716.50
7.3.180.0150.00016.51
7.3.170.0090.00916.48
7.3.160.0130.00316.49
7.3.120.0110.00714.58
7.2.330.0060.01916.36
7.2.320.0110.01216.32
7.2.310.0080.00816.54
7.2.300.0090.00916.26
7.2.290.0030.01316.45
7.2.60.0070.01016.76
7.2.00.0000.01218.86
7.1.200.0070.00715.59
7.1.100.0030.00617.68
7.1.70.0000.01416.97
7.1.60.0110.01119.31
7.1.50.0030.01916.82
7.1.00.0030.04022.43
7.0.200.0040.00416.70
7.0.140.0000.07722.07
7.0.120.0030.03322.02
7.0.60.0100.08320.03
7.0.50.0030.04017.87
7.0.40.0030.05720.41
7.0.30.0230.04020.10
7.0.20.0330.08020.23
7.0.10.0300.04320.10
7.0.00.0070.04720.30
5.6.280.0030.07320.92
5.6.210.0130.07720.50
5.6.200.0030.04018.12
5.6.190.0070.07320.61
5.6.180.0300.07720.53
5.6.170.0030.05320.51
5.6.160.0070.08020.54
5.6.150.0030.07318.29
5.6.140.0070.07018.15
5.6.130.0170.05018.15
5.6.120.0130.08320.98
5.6.110.0100.08021.13
5.6.100.0070.08020.97
5.6.90.0030.08021.12
5.6.80.0030.07320.38
5.6.70.0230.08020.27
5.5.350.0270.06020.38
5.5.340.0000.05017.98
5.5.330.0070.06320.18
5.5.320.0270.07320.28
5.5.310.0200.05720.20
5.5.300.0100.07718.05
5.5.290.0070.05717.98
5.5.280.0100.08020.80
5.5.270.0130.05720.75
5.5.260.0000.04720.95
5.5.250.0030.04020.70
5.5.240.0170.03720.06
5.4.450.0500.03319.27
5.4.440.0430.04319.46
5.4.430.0270.04719.45
5.4.420.0470.04319.45
5.4.410.0570.04319.20
5.4.400.0670.04019.23
5.4.390.0330.03319.16
5.4.380.0400.03319.13
5.4.370.0630.03319.13
5.4.360.0900.04019.07
5.4.350.0970.03318.86
5.4.340.0600.04018.83
5.4.320.0500.04019.30
5.4.310.0270.04019.13
5.4.300.0270.04019.19
5.4.290.0770.03319.19
5.4.280.0770.03318.86
5.4.270.0600.03718.99
5.4.260.0730.03719.05
5.4.250.0770.03719.13
5.4.240.0400.03718.96
5.4.230.0770.05319.21
5.4.220.0270.04319.14
5.4.210.0500.04719.05
5.4.200.0230.04318.86
5.4.190.0730.04718.93
5.4.180.0530.04319.21
5.4.170.1000.02719.05
5.4.160.0770.04019.17
5.4.150.0870.04018.81
5.4.140.0870.03316.29
5.4.130.0730.06016.45
5.4.120.0600.06316.28
5.4.110.0730.04016.32
5.4.100.0430.03316.46
5.4.90.0770.03016.55
5.4.80.0600.02316.23
5.4.70.0400.05016.57
5.4.60.0200.04316.32
5.4.50.0670.04316.51
5.4.40.0800.03316.24
5.4.30.0370.03716.48
5.4.20.0600.05016.52
5.4.10.0430.04016.43
5.4.00.0600.04016.23
5.3.290.0500.04316.23
5.3.280.0530.04016.23
5.3.270.0600.04716.23
5.3.260.0630.04016.23
5.3.250.0100.03016.23
5.3.240.0500.04016.23
5.3.230.0400.04016.23
5.3.220.0570.04716.23
5.3.210.0900.03716.23
5.3.200.0400.05016.23
5.3.190.0700.02716.23
5.3.180.0730.03316.23
5.3.170.0630.03016.23
5.3.160.0270.04316.23
5.3.150.0630.02716.23
5.3.140.0470.03016.23
5.3.130.0400.04316.23
5.3.120.0570.04016.23
5.3.110.0770.03716.23
5.3.100.0500.04316.23
5.3.90.0870.03316.23
5.3.80.0570.04316.23
5.3.70.0700.03316.23
5.3.60.0430.04316.23
5.3.50.0800.03316.23
5.3.40.0730.02716.23
5.3.30.0670.04016.23
5.3.20.0500.04016.23
5.3.10.0370.03316.23
5.3.00.0700.03716.23
5.2.170.0570.03716.23
5.2.160.0430.02316.23
5.2.150.0230.03016.23
5.2.140.0300.03716.23
5.2.130.0400.03316.23
5.2.120.0530.04016.23
5.2.110.0730.04016.23
5.2.100.0470.03316.23
5.2.90.0470.03716.23
5.2.80.0570.03316.23
5.2.70.0500.03016.23
5.2.60.0570.02316.23
5.2.50.0670.03716.23
5.2.40.0630.02316.23
5.2.30.0630.02716.23
5.2.20.0630.02316.23
5.2.10.0400.03016.23
5.2.00.0700.02316.23
5.1.60.0370.02316.23
5.1.50.0200.02316.23
5.1.40.0700.02316.23
5.1.30.0530.02716.23
5.1.20.0170.02716.23
5.1.10.0400.02016.23
5.1.00.0230.02716.23
5.0.50.0170.02016.23
5.0.40.0100.02016.23
5.0.30.0070.03316.23
5.0.20.0100.02016.23
5.0.10.0070.02016.23
5.0.00.0130.02316.23
4.4.90.0070.01316.23
4.4.80.0170.01316.23
4.4.70.0230.01716.23
4.4.60.0070.01316.23
4.4.50.0270.01316.23
4.4.40.0200.02716.23
4.4.30.0100.01716.23
4.4.20.0230.01316.23
4.4.10.0130.01316.23
4.4.00.0130.02716.23
4.3.110.0200.01716.23
4.3.100.0230.01316.23
4.3.90.0170.01316.23
4.3.80.0100.02716.23
4.3.70.0030.02016.23
4.3.60.0130.01716.23
4.3.50.0100.01716.23
4.3.40.0170.01716.23
4.3.30.0100.01316.23
4.3.20.0000.02016.23
4.3.10.0200.01316.23
4.3.00.0100.01316.23

preferences:
66.18 ms | 401 KiB | 5 Q