3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Wat { const A = 'abekat'; const B = self::A; }

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.54
8.3.30.0120.00318.78
8.3.20.0040.00420.34
8.3.10.0060.00323.52
8.3.00.0040.00419.02
8.2.170.0080.00622.96
8.2.160.0100.00320.43
8.2.150.0060.00324.18
8.2.140.0070.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00319.54
8.2.110.0030.00620.47
8.2.100.0110.00017.72
8.2.90.0030.00517.50
8.2.80.0040.00417.97
8.2.70.0030.00517.91
8.2.60.0070.00017.91
8.2.50.0070.00418.10
8.2.40.0040.00419.25
8.2.30.0000.00819.12
8.2.20.0000.00717.48
8.2.10.0060.00317.91
8.2.00.0040.00417.66
8.1.270.0000.00818.79
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00323.96
8.1.230.0100.00318.87
8.1.220.0060.00317.74
8.1.210.0050.00518.77
8.1.200.0030.00617.10
8.1.190.0000.00817.22
8.1.180.0070.00418.10
8.1.170.0050.00320.93
8.1.160.0000.00718.86
8.1.150.0090.00018.62
8.1.140.0040.00417.35
8.1.130.0000.00717.73
8.1.120.0040.00417.25
8.1.110.0080.00017.31
8.1.100.0000.00717.30
8.1.90.0030.00317.29
8.1.80.0040.00417.22
8.1.70.0030.00317.31
8.1.60.0000.00917.37
8.1.50.0000.00817.30
8.1.40.0040.00417.27
8.1.30.0050.00317.51
8.1.20.0080.00017.49
8.1.10.0060.00317.26
8.1.00.0000.00817.32
8.0.300.0000.00719.69
8.0.290.0090.00016.63
8.0.280.0050.00218.27
8.0.270.0030.00517.12
8.0.260.0030.00317.12
8.0.250.0070.00016.80
8.0.240.0040.00416.83
8.0.230.0040.00416.71
8.0.220.0030.00316.78
8.0.210.0050.00316.75
8.0.200.0000.00716.84
8.0.190.0040.00416.84
8.0.180.0040.00416.73
8.0.170.0060.00316.67
8.0.160.0030.00316.75
8.0.150.0000.00716.75
8.0.140.0030.00316.61
8.0.130.0020.00613.24
8.0.120.0040.00416.70
8.0.110.0040.00416.65
8.0.100.0070.00016.69
8.0.90.0000.00716.82
8.0.80.0090.00616.75
8.0.70.0040.00416.64
8.0.60.0000.00716.64
8.0.50.0040.00416.79
8.0.30.0080.01316.95
8.0.20.0090.00917.40
8.0.10.0050.00316.86
8.0.00.0090.01016.55
7.4.330.0000.00615.03
7.4.320.0070.00016.39
7.4.300.0030.00316.50
7.4.290.0070.00016.46
7.4.280.0000.00716.36
7.4.270.0000.00716.44
7.4.260.0000.00816.46
7.4.250.0040.00416.31
7.4.240.0040.00416.42
7.4.230.0030.00316.26
7.4.220.0030.01716.52
7.4.210.0090.00616.44
7.4.200.0000.00716.27
7.4.160.0060.00916.22
7.4.150.0090.00917.40
7.4.140.0050.01217.86
7.4.130.0100.00716.37
7.4.120.0060.01116.29
7.4.110.0130.00916.48
7.4.100.0120.00916.32
7.4.90.0100.00616.39
7.4.80.0150.00319.39
7.4.70.0090.01216.34
7.4.60.0130.00316.48
7.4.50.0000.00716.46
7.4.40.0110.00716.51
7.4.30.0170.00016.38
7.4.00.0030.01514.63
7.3.330.0030.00312.99
7.3.320.0020.00213.12
7.3.310.0040.00416.12
7.3.300.0040.00416.21
7.3.290.0070.00816.15
7.3.280.0090.01016.13
7.3.270.0130.01317.40
7.3.260.0110.00616.21
7.3.250.0070.01316.11
7.3.240.0030.01516.46
7.3.230.0150.00616.39
7.3.210.0130.00616.09
7.3.200.0070.01019.39
7.3.190.0100.00616.42
7.3.180.0160.00716.35
7.3.170.0110.00716.36
7.3.160.0090.00616.21
7.2.330.0090.00916.44
7.2.320.0090.00916.42
7.2.310.0030.01316.31
7.2.300.0120.00416.40
7.2.290.0090.00916.59
7.2.60.0070.00716.70
7.2.00.0030.01019.21
7.1.200.0040.00715.62
7.1.100.0430.00415.30
7.1.70.0030.00616.64
7.1.60.0070.01719.22
7.1.50.0090.01216.62
7.1.00.0030.07722.31
7.0.200.0040.00416.58
7.0.140.0000.07021.99
7.0.60.0100.06019.99
7.0.50.0070.08717.87
7.0.40.0030.05320.18
7.0.30.0570.06720.12
7.0.20.0130.04720.23
7.0.10.0330.07020.02
7.0.00.0070.05320.12
5.6.280.0000.07320.95
5.6.210.0200.05320.50
5.6.200.0070.08718.15
5.6.190.0130.08020.65
5.6.180.3600.04020.61
5.6.170.0330.07320.47
5.6.160.0030.08020.50
5.6.150.0030.04018.11
5.6.140.0100.03318.23
5.6.130.0100.04718.15
5.6.120.0070.04321.11
5.6.110.0100.07721.02
5.6.100.0030.07720.97
5.6.90.0070.09020.94
5.6.80.0130.06320.36
5.6.70.0370.06020.47
5.5.350.0200.05020.49
5.5.340.0030.08317.98
5.5.330.0000.05020.13
5.5.320.0370.04720.30
5.5.310.1330.05020.34
5.5.300.0100.07717.95
5.5.290.0070.08317.98
5.5.280.0030.09320.79
5.5.270.0100.04020.74
5.5.260.0030.08320.67
5.5.250.0030.04020.49
5.5.240.0200.07720.23
5.4.450.0600.06719.48
5.4.440.0270.04719.54
5.4.430.0100.05719.48
5.4.420.0230.04719.52
5.4.410.0170.05319.51
5.4.400.0230.04318.91
5.4.390.0130.05719.07
5.4.380.0200.05318.79
5.4.370.0230.05018.86
5.4.360.0200.05018.60
5.4.350.0170.06018.71
5.4.340.0170.05718.69
5.4.320.0200.05718.79
5.4.310.0230.04718.84
5.4.300.0230.05318.61
5.4.290.0200.05318.68
5.4.280.0300.04318.75
5.4.270.0300.04318.68
5.4.260.0100.06318.78
5.4.250.0300.05718.54
5.4.240.0200.05718.80
5.4.230.0300.04318.73
5.4.220.0330.07018.70
5.4.210.0130.06018.55
5.4.200.0270.04016.51
5.4.190.0170.05318.79
5.4.180.0200.05018.51
5.4.170.0130.06018.51
5.4.160.0230.04718.53
5.4.150.0200.05318.73
5.4.140.0200.05016.44
5.4.130.0170.05316.25
5.4.120.0230.05716.25
5.4.110.0300.04716.28
5.4.100.0270.06016.20
5.4.90.0200.05016.41
5.4.80.0170.05016.19
5.4.70.0200.04716.14
5.4.60.0230.06716.39
5.4.50.0200.06716.18
5.4.40.0170.07016.45
5.4.30.0170.05016.38
5.4.20.0200.04716.25
5.4.10.0100.05716.28
5.4.00.0100.05315.67

preferences:
47.45 ms | 400 KiB | 5 Q