3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ namespace epay; /*** * Enumeration for logging levels of importancy. * * @author Talaeezadeh */ class LogLevel extends \SplEnum { const __default = self::NONE; /** * Disable logging * * @var Constatnt(Int) No loggong */ const NONE = 0; /** * Fatal Errors * * @var Constant(Int) Fatal Errors */ const FATAL = 1; /** * Errors that are not fatal * * @var Constant(Int) Normal Errors */ const ERROR = 2; /** * Warnings * * @var Constant(Int) Warnings */ const WARNING = 3; /** * Notifications * * @var Constant(Int) Notifications */ const NOTICE = 4; /** * Informations * * @var Constant(Int) Informations */ const INFO = 5; /** * Everything that are not categorized in previous levels * * @var Constant(Int) Every (other) thing */ const EVERYTHING = 6; }

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.0110.00418.98
8.3.30.0100.00319.14
8.3.20.0040.00420.04
8.3.10.0040.00421.96
8.3.00.0000.00822.45
8.2.170.0030.01022.96
8.2.160.0060.00918.96
8.2.150.0000.00824.18
8.2.140.0030.00624.66
8.2.130.0030.00626.16
8.2.120.0100.00017.63
8.2.110.0030.00622.24
8.2.100.0100.00319.64
8.2.90.0040.00419.26
8.2.80.0000.00818.05
8.2.70.0050.00317.49
8.2.60.0080.00017.93
8.2.50.0040.00418.07
8.2.40.0040.00418.16
8.2.30.0060.00318.05
8.2.20.0030.00517.68
8.2.10.0040.00419.53
8.2.00.0030.00517.79
8.1.270.0070.01122.06
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0050.00523.81
8.1.230.0080.00419.08
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0090.00017.53
8.1.180.0000.00818.10
8.1.170.0030.00618.50
8.1.160.0040.00421.95
8.1.150.0000.00818.57
8.1.140.0040.00417.30
8.1.130.0000.00717.33
8.1.120.0070.00017.31
8.1.110.0040.00417.29
8.1.100.0040.00417.37
8.1.90.0000.00717.36
8.1.80.0000.00717.40
8.1.70.0000.00717.38
8.1.60.0040.00417.50
8.1.50.0000.00717.46
8.1.40.0050.00217.49
8.1.30.0000.00717.60
8.1.20.0040.00417.52
8.1.10.0050.00217.41
8.1.00.0080.00017.48
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0030.00518.50
8.0.270.0000.00817.16
8.0.260.0000.00716.84
8.0.250.0040.00416.92
8.0.240.0000.00817.01
8.0.230.0030.00316.92
8.0.220.0040.00416.96
8.0.210.0000.00716.84
8.0.200.0050.00216.93
8.0.190.0000.00716.90
8.0.180.0040.00316.97
8.0.170.0040.00416.93
8.0.160.0000.00717.05
8.0.150.0040.00416.78
8.0.140.0070.00016.92
8.0.130.0000.00513.39
8.0.120.0040.00416.80
8.0.110.0050.00216.94
8.0.100.0000.00716.78
8.0.90.0000.00716.84
8.0.80.0060.00917.00
8.0.70.0050.00316.98
8.0.60.0000.00716.84
8.0.50.0050.00316.93
8.0.30.0120.01317.10
8.0.20.0090.01017.40
8.0.10.0040.00417.03
8.0.00.0140.00816.53
7.4.330.0030.00315.00
7.4.320.0020.00516.54
7.4.300.0000.00616.50
7.4.290.0000.00716.44
7.4.280.0000.00716.45
7.4.270.0070.00016.56
7.4.260.0030.00316.49
7.4.250.0000.00816.48
7.4.240.0040.00316.47
7.4.230.0070.00016.32
7.4.220.0120.00316.36
7.4.210.0080.00616.45
7.4.200.0000.00716.36
7.4.190.0030.00316.43
7.4.160.0090.01216.47
7.4.150.0100.01017.40
7.4.140.0070.01217.86
7.4.130.0100.01016.50
7.4.120.0080.00816.46
7.4.110.0040.01516.48
7.4.100.0110.00716.54
7.4.90.0140.00416.59
7.4.80.0130.01019.39
7.4.70.0100.00716.43
7.4.60.0100.00716.47
7.4.50.0000.00816.22
7.4.40.0110.00722.77
7.4.30.0160.00016.38
7.4.00.0090.00614.96
7.3.330.0000.00513.08
7.3.320.0030.00313.10
7.3.310.0050.00216.31
7.3.300.0030.00316.32
7.3.290.0060.01416.31
7.3.280.0090.01016.28
7.3.270.0170.00317.40
7.3.260.0000.01716.55
7.3.250.0090.00916.35
7.3.240.0090.00616.46
7.3.230.0170.00416.41
7.3.210.0150.01116.23
7.3.200.0150.00316.50
7.3.190.0090.01316.43
7.3.180.0070.00716.45
7.3.170.0040.01216.46
7.3.160.0080.00816.43
7.3.120.0050.01014.84
7.3.110.0170.00015.07
7.3.100.0130.00014.73
7.3.90.0030.01015.03
7.3.80.0070.00315.11
7.3.70.0060.01014.57
7.3.60.0040.00814.88
7.3.50.0000.01314.73
7.3.40.0100.00614.73
7.3.30.0060.01014.86
7.3.20.0120.00816.46
7.3.10.0030.00916.76
7.3.00.0060.00616.63
7.2.330.0070.01016.68
7.2.320.0120.00916.36
7.2.310.0100.00716.28
7.2.300.0100.01116.32
7.2.290.0060.00916.38
7.2.250.0100.00714.89
7.2.240.0100.01014.68
7.2.230.0080.00414.87
7.2.220.0060.01315.00
7.2.210.0070.00715.07
7.2.200.0070.00714.59
7.2.190.0090.00314.62
7.2.180.0140.00314.86
7.2.170.0120.00614.75
7.2.130.0060.00316.59
7.2.120.0080.00816.74
7.2.110.0060.00616.52
7.2.100.0030.01016.65
7.2.90.0070.00416.77
7.2.80.0060.00516.50
7.2.70.0030.01416.88
7.2.60.0130.00216.59
7.2.50.0030.01416.65
7.2.40.0040.00416.63
7.2.30.0070.00716.92
7.2.20.0080.00416.88
7.2.10.0050.00516.77
7.2.00.0100.00616.99
7.1.330.0030.00915.77
7.1.320.0060.01215.85
7.1.310.0000.01515.50
7.1.300.0040.01115.59
7.1.290.0040.00715.79
7.1.280.0130.00715.56
7.1.270.0110.00315.70
7.1.260.0060.00615.61
7.1.250.0130.00315.70
7.1.200.0050.00315.48
7.1.100.0060.00618.07
7.1.70.0030.00716.70
7.1.60.0070.01819.82
7.1.50.0140.00416.86
7.1.00.0070.07322.40
7.0.200.0000.01016.70
7.0.140.0070.07321.99
7.0.60.0030.07320.00
7.0.50.0100.07717.88
7.0.40.0100.08319.96
7.0.30.0330.06720.26
7.0.20.0270.08020.30
7.0.10.0030.06720.05
7.0.00.0000.04320.05
5.6.280.0030.07320.88
5.6.210.0070.06320.69
5.6.200.0100.07318.34
5.6.190.0030.05720.77
5.6.180.3230.04720.45
5.6.170.0130.04320.42
5.6.160.0000.05320.48
5.6.150.0000.04718.22
5.6.140.0100.05318.18
5.6.130.0030.04018.15
5.6.120.0070.04021.04
5.6.110.0070.08021.02
5.6.100.0070.09320.97
5.6.90.0070.07020.98
5.6.80.0030.04320.50
5.6.70.1070.06020.49
5.5.350.0070.08320.43
5.5.340.0030.05017.98
5.5.330.0030.05320.47
5.5.320.0200.06320.30
5.5.310.0230.07320.52
5.5.300.0000.04317.98
5.5.290.0100.07717.92
5.5.280.0070.08720.98
5.5.270.0030.04020.97
5.5.260.0130.08020.76
5.5.250.0130.08020.61
5.5.240.0100.07320.35
5.4.450.0570.05319.49
5.4.440.0600.05719.39
5.4.430.0030.06019.58
5.4.420.0130.05319.53
5.4.410.0130.05318.68
5.4.400.1270.05318.87
5.4.390.1170.05718.50
5.4.380.0230.05318.63
5.4.370.0100.05318.51
5.4.360.0130.04018.72
5.4.350.0050.03812.02
5.4.340.0080.03512.01
5.4.320.0050.03612.50
5.4.310.0070.03812.49
5.4.300.0080.04012.49
5.4.290.0080.03612.49
5.4.280.0050.03512.39
5.4.270.0170.06318.95
5.4.260.0030.07318.96
5.4.250.0170.04318.99
5.4.240.0030.05719.01
5.4.230.0100.05019.11
5.4.220.0130.05318.86
5.4.210.0030.05718.85
5.4.200.0130.04718.98
5.4.190.0030.05719.13
5.4.180.0170.04318.90
5.4.170.0000.06018.90
5.4.160.0130.05018.99
5.4.150.0030.06018.91
5.4.140.0030.06316.54
5.4.130.0000.05716.50
5.4.120.0100.04716.69
5.4.110.0100.06316.61
5.4.100.0200.04716.69
5.4.90.0030.08016.69
5.4.80.0070.05016.62
5.4.70.0200.06016.56
5.4.60.0130.04316.57
5.4.50.0100.04316.61
5.4.40.0100.05316.71
5.4.30.0070.05016.31
5.4.20.0130.04016.66
5.4.10.0100.07016.54
5.4.00.0070.05016.10
5.3.290.0050.03912.80
5.3.280.0070.05314.86
5.3.270.0030.07714.88
5.3.260.0030.06014.72
5.3.250.0070.05714.91
5.3.240.0130.04714.88
5.3.230.0030.05714.76
5.3.220.0030.05714.75
5.3.210.0130.04714.83
5.3.200.0130.06314.86
5.3.190.0100.04714.82
5.3.180.0070.07714.68
5.3.170.0100.05014.77
5.3.160.0170.04314.77
5.3.150.0170.04314.61
5.3.140.0130.05314.78
5.3.130.0170.04314.83
5.3.120.0170.07714.83
5.3.110.0070.05314.82
5.3.100.0100.05014.35
5.3.90.0070.05014.28
5.3.80.0100.05014.18
5.3.70.0070.05014.23
5.3.60.0070.05014.20
5.3.50.0030.06714.16
5.3.40.0030.05714.15
5.3.30.0000.05714.09
5.3.20.0130.05313.88
5.3.10.0130.04313.90
5.3.00.0070.05013.92
5.2.170.0070.04311.36
5.2.160.0030.04311.19
5.2.150.0130.03311.29
5.2.140.0030.05711.36
5.2.130.0130.03311.09
5.2.120.0030.04311.24
5.2.110.0100.03311.30
5.2.100.0070.03711.31
5.2.90.0000.04711.23
5.2.80.0170.03011.32
5.2.70.0030.04311.22
5.2.60.0030.04311.19
5.2.50.0030.04711.00
5.2.40.0100.03310.95
5.2.30.0000.04711.11
5.2.20.0100.03711.20
5.2.10.0100.04310.96
5.2.00.0100.03710.89
5.1.60.0100.03010.22
5.1.50.0170.0379.97
5.1.40.0070.0309.96
5.1.30.0070.03710.32
5.1.20.0030.04310.34
5.1.10.0070.04710.02
5.1.00.0030.04010.27
5.0.50.0030.0338.53
5.0.40.0030.0338.69
5.0.30.0030.0478.36
5.0.20.0000.0308.41
5.0.10.0030.0338.25
5.0.00.0000.0438.47
4.4.90.0000.0237.47
4.4.80.0030.0277.47
4.4.70.0030.0277.47
4.4.60.0030.0207.47
4.4.50.0030.0277.47
4.4.40.0100.0337.47
4.4.30.0030.0277.47
4.4.20.0100.0177.47
4.4.10.0000.0237.47
4.4.00.0100.0307.47
4.3.110.0130.0177.47
4.3.100.0000.0237.47
4.3.90.0070.0177.47
4.3.80.0070.0307.47
4.3.70.0030.0207.47
4.3.60.0000.0337.47
4.3.50.0000.0237.47
4.3.40.0030.0337.47
4.3.30.0030.0277.47
4.3.20.0030.0207.47
4.3.10.0030.0237.47
4.3.00.0170.0177.11

preferences:
46.98 ms | 400 KiB | 5 Q