3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { const NAME = __CLASS__; const FOO = 'A Class Named ' . self::NAME; } echo I::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.0110.00716.50
8.3.50.0100.01016.24
8.3.40.0210.00018.47
8.3.30.0070.00718.59
8.3.20.0000.00720.29
8.3.10.0060.00323.27
8.3.00.0040.00419.41
8.2.180.0000.01518.09
8.2.170.0120.00322.96
8.2.160.0030.01319.12
8.2.150.0090.00024.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0060.00317.63
8.2.110.0100.00021.07
8.2.100.0080.00417.91
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0000.00817.25
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0000.00821.09
8.2.30.0030.00320.62
8.2.20.0040.00417.46
8.2.10.0050.00317.93
8.2.00.0050.00317.97
8.1.280.0060.00925.92
8.1.270.0100.00323.79
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.09
8.1.230.0050.00517.42
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.22
8.1.190.0030.00616.98
8.1.180.0070.00018.10
8.1.170.0030.00620.44
8.1.160.0000.00722.02
8.1.150.0000.00718.68
8.1.140.0030.00517.31
8.1.130.0030.00317.57
8.1.120.0030.00517.23
8.1.110.0000.00817.39
8.1.100.0040.00417.36
8.1.90.0040.00417.17
8.1.80.0000.00817.31
8.1.70.0000.00817.20
8.1.60.0050.00217.33
8.1.50.0040.00417.27
8.1.40.0040.00417.28
8.1.30.0000.00917.36
8.1.20.0040.00417.38
8.1.10.0000.00717.41
8.1.00.0040.00417.39
8.0.300.0030.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0030.00317.19
8.0.260.0000.00617.25
8.0.250.0000.00716.80
8.0.240.0000.00716.89
8.0.230.0000.00716.69
8.0.220.0050.00316.72
8.0.210.0080.00016.69
8.0.200.0030.00716.81
8.0.190.0030.00516.89
8.0.180.0030.00316.85
8.0.170.0040.00416.67
8.0.160.0060.00316.78
8.0.150.0030.00516.74
8.0.140.0000.00716.64
8.0.130.0050.00013.23
8.0.120.0040.00416.71
8.0.110.0000.00716.58
8.0.100.0050.00216.79
8.0.90.0000.00716.75
8.0.80.0040.01116.73
8.0.70.0080.00016.82
8.0.60.0000.00816.79
8.0.50.0000.00716.58
8.0.30.0100.00617.00
8.0.20.0120.00817.40
8.0.10.0000.00716.95
8.0.00.0130.00616.66
7.4.330.0000.00515.08
7.4.320.0000.00716.32
7.4.300.0060.00016.29
7.4.290.0050.00316.32
7.4.280.0060.00316.44
7.4.270.0000.00716.27
7.4.260.0000.00716.46
7.4.250.0000.00716.34
7.4.240.0040.00416.33
7.4.230.0000.00716.19
7.4.220.0090.00916.46
7.4.210.0120.00416.49
7.4.200.0000.00716.44
7.4.160.0090.00916.18
7.4.150.0090.01517.40
7.4.140.0090.01017.86
7.4.130.0100.01416.25
7.4.120.0100.00716.28
7.4.110.0070.01016.29
7.4.100.0120.01016.34
7.4.90.0060.01016.32
7.4.80.0100.00719.39
7.4.70.0120.01216.45
7.4.60.0120.01016.25
7.4.50.0080.00016.28
7.4.40.0130.00316.52
7.4.30.0150.00616.29
7.4.00.0070.01015.00
7.3.330.0050.00013.17
7.3.320.0050.00013.18
7.3.310.0000.00716.03
7.3.300.0000.00616.05
7.3.290.0020.01216.17
7.3.280.0120.00616.17
7.3.270.0120.00617.40
7.3.260.0030.01316.42
7.3.240.0040.01516.41
7.3.230.0130.00416.39
7.3.210.0070.01016.37
7.3.200.0120.01216.52
7.3.190.0100.00616.47
7.3.180.0040.01216.36
7.3.170.0120.00816.42
7.3.160.0090.00616.20
7.2.330.0060.01216.52
7.2.320.0120.00616.44
7.2.310.0090.01216.31
7.2.300.0140.00316.25
7.2.290.0030.01816.55
7.2.00.0060.00919.40
7.1.100.0100.00017.97
7.1.70.0090.00016.97
7.1.60.0070.01719.50
7.1.50.0080.00416.80
7.1.00.0030.07722.36
7.0.200.0160.00314.74
7.0.60.0130.03719.98
7.0.50.0030.05017.87
7.0.40.0030.09320.11
7.0.30.0200.04320.08
7.0.20.0270.08320.09
7.0.10.0100.08320.30
7.0.00.0130.07320.20
5.6.280.0070.03021.10
5.6.210.0030.08020.50
5.6.200.0100.06718.18
5.6.190.0100.07020.63
5.6.180.0270.05020.42
5.6.170.0230.03720.71
5.6.160.0030.09020.46
5.6.150.0100.05318.28
5.6.140.0000.04718.28
5.6.130.0130.06318.20
5.6.120.0070.07021.09
5.6.110.0070.04321.14
5.6.100.0030.08720.96
5.6.90.0070.07321.11
5.6.80.0130.03020.35
5.5.350.0030.08020.40
5.5.340.0030.08318.07
5.5.330.0030.05320.47
5.5.320.3900.04020.27
5.5.310.0130.05320.24
5.5.300.0030.08317.98
5.5.290.0030.05318.06
5.5.280.0070.05020.98
5.5.270.0070.03720.86
5.5.260.0070.09020.96
5.5.250.0030.08020.54
5.5.240.0030.03320.18
5.4.450.0700.07019.57
5.4.440.0670.06019.60
5.4.430.0900.06719.61
5.4.420.0770.06019.57
5.4.410.0630.06319.00
5.4.400.0670.05318.80
5.4.390.0700.05019.09
5.4.380.0870.04319.28
5.4.370.0670.05319.04
5.4.360.0670.05719.00
5.4.350.0730.05718.83
5.4.340.0770.04718.95
5.4.320.0670.05719.39
5.4.310.0670.05319.28
5.4.300.0700.05318.80
5.4.290.0770.04318.78
5.4.280.0730.05018.91
5.4.270.0800.04318.80
5.4.260.0730.04719.05
5.4.250.0670.05319.24
5.4.240.0630.05718.80
5.4.230.0700.05019.08
5.4.220.0700.05019.24
5.4.210.0830.05319.16
5.4.200.0630.06018.80
5.4.190.0730.05319.23
5.4.180.0670.05018.99
5.4.170.0630.06019.23
5.4.160.0730.05018.93
5.4.150.0630.06018.98
5.4.140.0630.05316.52
5.4.130.0700.04716.31
5.4.120.0630.05716.31
5.4.110.0670.05316.58
5.4.100.0730.04316.53
5.4.90.0830.03716.63
5.4.80.0730.04016.18
5.4.70.0230.07316.54
5.4.60.0070.06716.52
5.4.50.0000.04316.25
5.4.40.0270.06316.54
5.4.30.0370.03716.27
5.4.20.0000.05316.37

preferences:
59.07 ms | 400 KiB | 5 Q