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"; } $pmc = new ProjectManagementConfig; $pmc->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.0210.00016.50
8.3.50.0140.00016.46
8.3.40.0090.00618.67
8.3.30.0070.00718.55
8.3.20.0030.00520.34
8.3.10.0000.00721.70
8.3.00.0040.00420.63
8.2.180.0060.00916.63
8.2.170.0070.00722.96
8.2.160.0030.01019.12
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0000.00722.13
8.2.120.0040.00426.35
8.2.110.0090.00021.06
8.2.100.0080.00417.93
8.2.90.0030.00519.15
8.2.80.0000.00817.97
8.2.70.0040.00417.75
8.2.60.0000.00718.03
8.2.50.0040.00418.10
8.2.40.0060.00320.59
8.2.30.0020.00520.54
8.2.20.0050.00317.55
8.2.10.0000.00718.11
8.2.00.0040.00417.98
8.1.280.0060.00925.92
8.1.270.0040.00423.79
8.1.260.0000.00728.09
8.1.250.0040.00428.09
8.1.240.0070.00421.06
8.1.230.0060.00619.01
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.00
8.1.190.0000.00817.23
8.1.180.0040.00418.10
8.1.170.0040.00718.65
8.1.160.0030.00320.89
8.1.150.0110.00018.84
8.1.140.0040.00419.54
8.1.130.0080.00017.61
8.1.120.0000.00717.48
8.1.110.0040.00417.36
8.1.100.0000.00717.44
8.1.90.0080.00017.30
8.1.80.0000.00717.48
8.1.70.0030.00517.29
8.1.60.0000.00817.56
8.1.50.0080.00017.43
8.1.40.0000.00817.52
8.1.30.0080.00017.59
8.1.20.0030.00517.65
8.1.10.0040.00417.39
8.1.00.0030.00617.54
8.0.300.0030.00618.77
8.0.290.0000.00816.75
8.0.280.0000.00718.43
8.0.270.0030.00317.24
8.0.260.0060.00017.11
8.0.250.0030.00316.85
8.0.240.0030.00516.95
8.0.230.0080.00016.91
8.0.220.0030.00316.79
8.0.210.0030.00416.75
8.0.200.0030.00316.93
8.0.190.0000.00816.91
8.0.180.0040.00416.81
8.0.170.0000.00716.78
8.0.160.0000.00716.95
8.0.150.0050.00316.82
8.0.140.0000.00816.91
8.0.130.0030.00313.35
8.0.120.0000.00716.73
8.0.110.0040.00416.82
8.0.100.0040.00416.84
8.0.90.0050.00316.91
8.0.80.0060.00916.82
8.0.70.0040.00416.94
8.0.60.0050.00316.84
8.0.50.0000.00816.68
8.0.30.0140.00516.78
8.0.20.0100.00917.40
8.0.10.0070.00017.04
8.0.00.0070.01016.90
7.4.330.0050.00015.08
7.4.320.0030.00316.61
7.4.300.0070.00016.50
7.4.290.0000.00716.55
7.4.280.0070.00016.38
7.4.270.0030.00316.50
7.4.260.0070.00016.55
7.4.250.0040.00416.56
7.4.240.0070.00016.52
7.4.230.0040.00416.71
7.4.220.0090.00916.52
7.4.210.0090.00916.56
7.4.200.0040.00416.63
7.4.160.0090.00616.57
7.4.150.0100.00717.40
7.4.140.0100.00717.86
7.4.130.0110.01016.40
7.4.120.0110.00916.43
7.4.110.0040.01316.55
7.4.100.0120.00416.49
7.4.90.0070.01016.36
7.4.80.0090.00919.39
7.4.70.0120.00316.40
7.4.60.0140.00316.55
7.4.50.0000.01516.53
7.4.40.0140.00616.57
7.4.30.0070.01016.43
7.4.00.0080.00714.93
7.3.330.0030.00313.18
7.3.320.0030.00313.30
7.3.310.0000.00816.32
7.3.300.0030.00316.27
7.3.290.0000.00616.32
7.3.280.0090.01116.34
7.3.270.0100.00717.40
7.3.260.0090.00916.46
7.3.250.0130.00816.31
7.3.240.0080.00816.48
7.3.230.0200.00716.59
7.3.210.0040.01416.18
7.3.200.0100.00716.57
7.3.190.0000.02016.34
7.3.180.0040.01216.28
7.3.170.0100.00716.32
7.3.160.0070.01116.32
7.3.10.0110.00316.63
7.3.00.0070.00316.78
7.2.330.0210.00616.65
7.2.320.0070.01116.67
7.2.310.0080.00816.77
7.2.300.0070.01116.68
7.2.290.0100.00616.28
7.2.130.0060.00916.74
7.2.120.0030.00616.91
7.2.110.0130.00316.83
7.2.100.0060.00616.89
7.2.90.0090.00616.90
7.2.80.0060.00616.94
7.2.70.0070.00716.78
7.2.60.0060.00916.94
7.2.50.0070.01017.02
7.2.40.0080.00316.98
7.2.30.0060.00616.73
7.2.20.0060.00616.91
7.2.10.0000.01116.95
7.2.00.0070.00717.90
7.1.250.0030.00915.87
7.1.200.0070.00315.63
7.1.100.0030.01017.61
7.1.70.0000.01016.78
7.1.60.0060.01319.48
7.1.00.0030.07722.29
7.0.200.0560.00714.52
7.0.60.0030.06321.75
7.0.50.0030.08317.92
7.0.40.0400.06320.06
7.0.30.0470.05320.39
7.0.20.0470.05320.28
7.0.10.0370.07020.28
7.0.00.0570.08320.09
5.6.280.0070.06720.91
5.6.210.0070.08320.54
5.6.200.0000.07718.25
5.6.190.0330.06320.47
5.6.180.0370.05720.53
5.6.170.0400.05320.57
5.6.160.0470.05720.44
5.6.150.0400.05720.41
5.6.140.0100.06020.37
5.6.130.0030.06720.32
5.6.120.0130.05720.39
5.6.110.0200.06320.35
5.6.100.0370.05720.26
5.6.90.0770.08320.18
5.6.80.0600.05719.98
5.6.70.0130.05719.58
5.6.60.0600.04719.81
5.6.50.0330.05719.80
5.6.40.0500.05719.77
5.6.30.0370.05719.75
5.6.20.0330.06319.68
5.6.10.0330.06019.68
5.6.00.0370.05319.66
5.5.350.0200.08020.41
5.5.340.0000.09018.09
5.5.330.0500.06720.36
5.5.320.0430.05720.42
5.5.310.0330.06020.26
5.5.300.0000.09020.38
5.5.290.0400.05320.39
5.5.280.0170.05020.19
5.5.270.0330.05020.19
5.5.260.0370.06020.00
5.5.250.0670.07020.01
5.5.240.0530.06319.61
5.5.230.0230.04319.59
5.5.220.0430.05019.58
5.5.210.0500.05719.54
5.5.200.0530.05319.55
5.5.190.0370.05319.74
5.5.180.0500.05319.55
5.5.160.0370.05319.50
5.5.150.0270.07019.55
5.5.140.0330.06319.51
5.5.130.0370.05719.54
5.5.120.0300.06019.55
5.5.110.0400.05319.46
5.5.100.0400.05019.45
5.5.90.0400.05719.48
5.5.80.0430.04719.36
5.5.70.0470.04319.34
5.5.60.0570.05719.36
5.5.50.0670.06019.36
5.5.40.0370.05019.37
5.5.30.0300.07319.46
5.5.20.0500.05319.47
5.5.10.0400.06319.36
5.5.00.0670.06719.45

preferences:
61.45 ms | 401 KiB | 5 Q