3v4l.org

run code in 300+ PHP versions simultaneously
<?php class BaseClass { public function foo() { var_dump(class_exists("ProjectManagementConfig")); echo ProjectManagementConfig::FOO; } } class ProjectManagementConfig extends BaseClass { const FOO = "Bar"; } $a = new ProjectManagementConfig; $a->foo();

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.0070.01716.63
8.3.50.0290.00321.02
8.3.40.0110.00418.70
8.3.30.0070.01418.72
8.3.20.0090.00020.27
8.3.10.0040.00421.61
8.3.00.0060.00320.89
8.2.180.0140.00016.38
8.2.170.0140.00022.96
8.2.160.0000.01419.25
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00822.16
8.2.120.0050.00326.35
8.2.110.0030.00621.92
8.2.100.0040.00818.04
8.2.90.0050.00319.08
8.2.80.0050.00317.97
8.2.70.0000.00917.59
8.2.60.0050.00317.80
8.2.50.0050.00318.10
8.2.40.0050.00320.48
8.2.30.0000.00720.60
8.2.20.0090.00017.71
8.2.10.0040.00418.11
8.2.00.0020.00517.96
8.1.280.0000.01425.92
8.1.270.0070.01023.91
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0070.00322.00
8.1.230.0080.00419.08
8.1.220.0050.00317.78
8.1.210.0040.00418.77
8.1.200.0050.00517.35
8.1.190.0000.00717.23
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0000.00720.81
8.1.150.0070.00418.80
8.1.140.0040.00419.64
8.1.130.0000.00817.66
8.1.120.0070.00017.45
8.1.110.0090.00017.46
8.1.100.0000.00717.35
8.1.90.0000.00717.48
8.1.80.0040.00417.31
8.1.70.0070.00017.42
8.1.60.0070.00017.56
8.1.50.0030.00517.45
8.1.40.0030.00617.54
8.1.30.0040.00417.66
8.1.20.0040.00417.48
8.1.10.0070.00017.46
8.1.00.0000.00717.37
8.0.300.0000.00918.77
8.0.290.0070.00016.75
8.0.280.0000.00818.42
8.0.270.0030.00317.13
8.0.260.0070.00017.17
8.0.250.0000.00616.97
8.0.240.0030.00516.96
8.0.230.0040.00416.91
8.0.220.0040.00416.75
8.0.210.0040.00416.78
8.0.200.0050.00216.91
8.0.190.0070.00016.83
8.0.180.0040.00416.88
8.0.170.0070.00016.88
8.0.160.0000.00716.91
8.0.150.0000.00716.86
8.0.140.0000.00716.81
8.0.130.0030.00313.33
8.0.120.0030.00516.75
8.0.110.0070.00016.91
8.0.100.0030.00316.70
8.0.90.0030.00516.77
8.0.80.0100.00616.83
8.0.70.0040.00416.92
8.0.60.0040.00416.93
8.0.50.0030.00316.77
8.0.30.0120.00517.00
8.0.20.0110.00817.40
8.0.10.0040.00416.87
8.0.00.0110.00716.60
7.4.330.0030.00215.08
7.4.320.0000.00616.41
7.4.300.0030.00316.58
7.4.290.0030.00516.54
7.4.280.0030.00516.49
7.4.270.0070.00016.45
7.4.260.0040.00416.47
7.4.250.0040.00416.51
7.4.240.0050.00316.55
7.4.230.0070.00016.69
7.4.220.0130.01016.52
7.4.210.0070.00916.58
7.4.200.0000.00716.57
7.4.160.0070.00716.43
7.4.150.0090.00817.40
7.4.140.0100.01017.86
7.4.130.0110.00616.48
7.4.120.0120.00816.58
7.4.110.0100.00716.72
7.4.100.0030.01416.40
7.4.90.0100.01316.41
7.4.80.0060.01019.39
7.4.70.0060.00916.48
7.4.60.0130.00716.43
7.4.50.0060.00616.30
7.4.40.0060.01016.64
7.4.30.0000.01716.43
7.4.10.0120.00414.86
7.4.00.0110.00514.75
7.3.330.0030.00313.24
7.3.320.0060.00013.32
7.3.310.0040.00416.23
7.3.300.0040.00416.31
7.3.290.0070.01216.31
7.3.280.0090.00816.27
7.3.270.0120.00617.40
7.3.260.0100.00716.21
7.3.250.0130.00916.44
7.3.240.0060.01216.44
7.3.230.0090.00916.39
7.3.210.0080.00816.26
7.3.200.0030.01316.16
7.3.190.0090.00416.58
7.3.180.0040.01216.61
7.3.170.0090.01016.41
7.3.160.0120.00316.59
7.3.130.0130.00314.74
7.3.120.0000.01714.48
7.3.110.0070.01115.05
7.3.100.0060.01314.57
7.3.90.0080.00814.80
7.3.80.0070.00414.93
7.3.70.0030.01014.76
7.3.60.0120.00314.80
7.3.50.0000.01214.88
7.3.40.0040.00814.65
7.3.30.0030.00614.50
7.3.20.0030.01016.34
7.3.10.0100.00316.80
7.3.00.0100.00316.84
7.2.330.0070.01016.36
7.2.320.0120.00616.81
7.2.310.0070.00816.66
7.2.300.0100.00616.91
7.2.290.0100.00616.46
7.2.260.0120.00615.04
7.2.250.0070.01014.85
7.2.240.0110.00715.30
7.2.230.0070.01015.00
7.2.220.0110.00415.00
7.2.210.0070.00714.90
7.2.200.0000.01415.14
7.2.190.0060.00914.94
7.2.180.0060.00315.03
7.2.170.0040.01115.00
7.2.160.0030.01015.05
7.2.150.0080.00616.98
7.2.140.0040.00717.04
7.2.130.0000.01517.00
7.2.120.0090.00616.77
7.2.110.0100.00716.80
7.2.100.0030.01016.84
7.2.90.0030.01016.86
7.2.80.0030.01217.02
7.2.70.0030.00916.93
7.2.60.0030.00916.79
7.2.50.0060.00617.00
7.2.40.0060.01217.11
7.2.30.0050.00817.05
7.2.20.0060.00616.93
7.2.10.0100.00617.10
7.2.00.0020.00918.09
7.1.330.0000.01615.86
7.1.320.0100.00315.63
7.1.310.0100.00315.65
7.1.300.0000.01415.61
7.1.290.0080.00015.64
7.1.280.0090.00615.87
7.1.270.0040.00415.76
7.1.260.0000.00915.50
7.1.250.0090.00015.74
7.1.240.0000.01515.45
7.1.230.0080.00315.73
7.1.220.0000.01115.67
7.1.210.0040.00815.56
7.1.200.0080.00615.79
7.1.190.0030.01315.76
7.1.180.0030.00615.59
7.1.170.0060.00615.68
7.1.160.0000.01515.88
7.1.150.0030.01115.70
7.1.140.0070.00315.69
7.1.130.0030.00615.80
7.1.120.0080.00415.71
7.1.110.0040.01115.59
7.1.100.0080.00416.74
7.1.90.0090.00615.67
7.1.80.0080.00415.76
7.1.70.0070.00516.23
7.1.60.0070.00717.66
7.1.50.0070.01015.68
7.1.40.0030.01315.33
7.1.30.0070.00715.57
7.1.20.0000.01015.67
7.1.10.0060.00615.53
7.1.00.0020.04318.93
7.0.330.0030.01115.30
7.0.320.0070.00415.14
7.0.310.0100.00315.30
7.0.300.0070.01015.12
7.0.290.0070.00315.37
7.0.280.0050.00515.27
7.0.270.0070.00715.48
7.0.260.0000.01415.36
7.0.250.0000.01015.14
7.0.240.0030.00815.39
7.0.230.0040.00715.47
7.0.220.0050.00315.36
7.0.210.0030.00715.02
7.0.200.0500.00614.95
7.0.190.0080.00815.38
7.0.180.0090.00615.39
7.0.170.0060.00615.43
7.0.160.0000.01115.30
7.0.150.0100.00715.16
7.0.140.0000.01515.33
7.0.130.0000.01115.02
7.0.120.0000.01215.38
7.0.110.0030.01015.12
7.0.100.0030.01315.40
7.0.90.0030.01215.39
7.0.80.0060.00615.26
7.0.70.0100.00015.13
7.0.60.0050.04218.47
7.0.50.0060.03616.65
7.0.40.0310.03116.72
7.0.30.0250.03616.84
7.0.20.0280.03916.79
7.0.10.0250.03016.95
7.0.00.0260.03116.79
5.6.400.0060.00614.74
5.6.390.0050.00514.35
5.6.380.0030.00714.11
5.6.370.0030.00614.42
5.6.360.0040.01514.12
5.6.350.0090.00314.17
5.6.340.0070.00414.59
5.6.330.0060.00914.34
5.6.320.0060.00914.60
5.6.310.0030.01014.59
5.6.300.0040.01413.86
5.6.290.0140.00314.44
5.6.280.0090.03717.43
5.6.270.0070.00714.09
5.6.260.0030.01414.30
5.6.250.0040.00714.20
5.6.240.0040.00414.41
5.6.230.0070.00714.10
5.6.220.0030.01014.55
5.6.210.0070.04317.54
5.6.200.0000.03216.16
5.6.190.0300.03217.54
5.6.180.0190.03717.47
5.6.170.0320.03217.37
5.6.160.0220.03517.20
5.6.150.0250.03417.33
5.6.140.0200.03417.41
5.6.130.0290.03317.14
5.6.120.0080.03317.35
5.6.110.0120.03017.42
5.6.100.0130.03217.24
5.6.90.0270.03017.26
5.6.80.0270.03116.86
5.6.70.0220.03217.13
5.6.60.0220.03517.00
5.6.50.0150.04116.99
5.6.40.0200.03317.15
5.6.30.0180.03516.86
5.6.20.0190.03016.99
5.6.10.0250.02716.93
5.6.00.0240.03116.83
5.5.380.0070.00714.54
5.5.370.0050.00514.20
5.5.360.0000.01614.21
5.5.350.0100.04517.20
5.5.340.0090.02115.95
5.5.330.0270.02717.41
5.5.320.0250.03317.17
5.5.310.0230.04017.25
5.5.300.0100.03717.28
5.5.290.0280.03417.26
5.5.280.0140.02817.28
5.5.270.0090.03417.31
5.5.260.0270.02717.14
5.5.250.0200.03217.24
5.5.240.0190.03216.93
5.5.230.0180.03516.87
5.5.220.0190.03416.86
5.5.210.0200.03216.66
5.5.200.0200.03216.76
5.5.190.0220.03016.90
5.5.180.0170.03516.75
5.5.170.0140.00014.13
5.5.160.0220.03016.95
5.5.150.0230.03517.04
5.5.140.0200.03216.67
5.5.130.0150.03716.74
5.5.120.0170.03316.90
5.5.110.0250.03716.99
5.5.100.0230.03116.87
5.5.90.0280.03216.86
5.5.80.0270.02816.88
5.5.70.0300.02816.81
5.5.60.0210.03516.81
5.5.50.0200.03416.71
5.5.40.0180.03116.73
5.5.30.0310.04116.93
5.5.20.0310.03716.84
5.5.10.0230.03016.69
5.5.00.0230.03416.54

preferences:
36.34 ms | 401 KiB | 5 Q