3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myClass { const MY_CONSTANT = <<<EOT my multiline constant value EOT; } echo myClass::MY_CONSTANT;

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.70.0030.01216.58
8.3.60.0110.00718.18
8.3.50.0110.00417.90
8.3.40.0130.00618.71
8.3.30.0040.01118.50
8.3.20.0060.00319.07
8.3.10.0040.00423.66
8.3.00.0040.00423.38
8.2.190.0110.00416.58
8.2.180.0150.00625.92
8.2.170.0120.00618.79
8.2.160.0090.00922.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0020.00520.51
8.2.120.0040.00426.35
8.2.110.0040.00420.52
8.2.100.0040.00817.57
8.2.90.0040.00419.34
8.2.80.0080.00017.97
8.2.70.0000.00817.90
8.2.60.0030.00517.80
8.2.50.0040.00418.10
8.2.40.0040.00419.06
8.2.30.0050.00520.90
8.2.20.0040.00417.98
8.2.10.0000.00717.93
8.2.00.0000.00719.20
8.1.280.0110.00425.92
8.1.270.0040.00420.38
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00722.08
8.1.230.0080.00421.85
8.1.220.0040.00417.74
8.1.210.0040.00418.85
8.1.200.0060.00317.22
8.1.190.0100.00017.11
8.1.180.0080.00018.10
8.1.170.0040.00418.77
8.1.160.0050.00218.68
8.1.150.0000.00718.79
8.1.140.0070.00018.86
8.1.130.0030.00318.95
8.1.120.0070.00017.34
8.1.110.0070.00017.39
8.1.100.0000.00717.21
8.1.90.0000.00817.27
8.1.80.0080.00017.36
8.1.70.0040.00417.20
8.1.60.0030.00617.34
8.1.50.0030.00617.36
8.1.40.0000.00817.39
8.1.30.0040.00417.50
8.1.20.0000.00717.46
8.1.10.0080.00017.34
8.1.00.0000.00817.41
8.0.300.0090.00019.96
8.0.290.0060.00316.63
8.0.280.0080.00018.39
8.0.270.0040.00417.10
8.0.260.0000.00617.10
8.0.250.0020.00516.92
8.0.240.0060.00016.80
8.0.230.0070.00016.73
8.0.220.0030.00316.84
8.0.210.0000.00616.82
8.0.200.0000.00716.90
8.0.190.0040.00416.76
8.0.180.0070.00016.78
8.0.170.0000.00816.75
8.0.160.0060.00316.78
8.0.150.0040.00416.72
8.0.140.0030.00416.80
8.0.130.0000.00613.24
8.0.120.0000.00816.74
8.0.110.0040.00416.71
8.0.100.0000.00716.79
8.0.90.0070.00016.79
8.0.80.0110.00616.85
8.0.70.0040.00416.64
8.0.60.0050.00216.71
8.0.50.0040.00416.69
8.0.30.0110.00617.03
8.0.20.0120.00717.40
8.0.10.0030.00616.88
8.0.00.0110.00816.72
7.4.330.0050.00015.55
7.4.320.0040.00416.45
7.4.300.0000.00716.38
7.4.290.0030.00316.48
7.4.280.0000.00816.37
7.4.270.0000.00716.27
7.4.260.0000.00716.38
7.4.250.0050.00316.42
7.4.240.0030.00416.52
7.4.230.0040.00416.27
7.4.220.0000.00816.30
7.4.210.0070.01216.38
7.4.200.0000.00716.34
7.4.160.0110.00616.59
7.4.140.0090.01017.86
7.4.130.0170.00616.55
7.4.120.0090.00916.39
7.4.110.0070.01016.63
7.4.100.0130.00916.48
7.4.90.0060.01316.64
7.4.80.0090.00919.39
7.4.70.0090.00916.41
7.4.60.0120.00916.29
7.4.50.0060.00916.42
7.4.40.0140.00716.38
7.4.00.0070.01015.10
7.3.330.0070.00013.26
7.3.320.0050.00013.30
7.3.310.0000.00616.26
7.3.300.0040.00416.09
7.3.290.0000.00716.24
7.3.280.0100.00716.22
7.3.260.0120.00516.38
7.3.240.0110.00816.28
7.3.230.0100.00716.21
7.3.210.0100.01316.36
7.3.200.0090.01216.49
7.3.190.0100.00616.39
7.3.180.0070.01316.53
7.3.170.0090.00616.50
7.3.160.0080.00816.36
7.3.10.0070.00716.65
7.3.00.0080.00416.59
7.2.330.0120.01216.29
7.2.320.0120.00616.55
7.2.310.0070.01416.41
7.2.300.0090.00916.68
7.2.290.0120.00416.25
7.2.130.0090.00316.49
7.2.120.0030.01016.72
7.2.110.0030.00616.68
7.2.100.0000.00816.45
7.2.90.0030.01416.78
7.2.80.0060.01015.64
7.2.70.0170.00615.75
7.2.60.0200.00615.53
7.2.50.0100.00915.96
7.2.40.0420.00815.66
7.2.30.0090.00515.89
7.2.20.0180.00815.74
7.2.10.0050.01115.55
7.2.00.0260.01215.76
7.1.250.0060.00315.73
7.1.200.0110.00315.34
7.1.190.0230.00613.46
7.1.180.0450.00013.31
7.1.170.0490.00313.88
7.1.160.0220.00713.46
7.1.150.0430.00313.84
7.1.140.0460.00313.67
7.1.130.0440.00313.88
7.1.120.0450.01213.77
7.1.110.1040.01613.29
7.1.100.0170.00913.56
7.1.90.0360.00913.61
7.1.80.0390.00813.59
7.1.70.0380.01013.76
7.1.60.0460.00731.67
7.1.50.0850.01331.84
7.1.40.0440.01031.67
7.1.30.0700.01331.92
7.1.20.0330.00331.60
7.1.10.0260.01213.65
7.1.00.0350.00913.47

preferences:
70.87 ms | 401 KiB | 5 Q