3v4l.org

run code in 300+ PHP versions simultaneously
<?php const API_KEY = 'ABCD1234'; echo API_KEY + 'test'; echo API_KEY . 'test';

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.0150.00618.85
8.3.30.0090.00618.67
8.3.20.0000.00720.21
8.3.10.0040.00423.71
8.3.00.0030.00719.38
8.2.170.0100.01022.96
8.2.160.0110.00320.32
8.2.150.0000.00924.18
8.2.140.0000.00824.66
8.2.130.0050.00317.63
8.2.120.0040.00426.35
8.2.110.0060.00322.13
8.2.100.0080.00417.72
8.2.90.0040.00419.23
8.2.80.0000.00817.97
8.2.70.0040.00417.38
8.2.60.0030.00618.05
8.2.50.0040.00418.07
8.2.40.0080.00019.39
8.2.30.0000.00720.49
8.2.20.0060.00317.80
8.2.10.0000.00717.92
8.2.00.0090.00017.98
8.1.270.0040.00423.99
8.1.260.0040.00428.09
8.1.250.0050.00228.09
8.1.240.0090.00023.58
8.1.230.0030.00819.18
8.1.220.0000.00817.76
8.1.210.0030.00718.77
8.1.200.0030.00617.23
8.1.190.0000.00917.23
8.1.180.0040.00418.10
8.1.170.0030.00618.78
8.1.160.0030.00522.06
8.1.150.0050.00218.73
8.1.140.0000.00819.53
8.1.130.0050.00317.66
8.1.120.0050.00217.41
8.1.110.0030.00317.35
8.1.100.0070.00017.38
8.1.90.0020.00517.37
8.1.80.0020.00517.37
8.1.70.0000.00717.26
8.1.60.0090.00017.39
8.1.50.0050.00317.41
8.1.40.0060.00317.43
8.1.30.0040.00417.59
8.1.20.0000.00717.55
8.1.10.0000.00917.48
8.1.00.0030.00617.43
8.0.300.0040.00418.77
8.0.290.0000.00716.88
8.0.280.0030.00318.36
8.0.270.0050.00217.24
8.0.260.0030.00317.24
8.0.250.0070.00017.02
8.0.240.0030.00316.91
8.0.230.0000.00717.01
8.0.220.0070.00016.85
8.0.210.0000.00716.86
8.0.200.0000.00617.02
8.0.190.0000.00816.93
8.0.180.0070.00016.88
8.0.170.0000.00817.02
8.0.160.0040.00416.82
8.0.150.0080.00016.79
8.0.140.0050.00316.78
8.0.130.0080.00013.36
8.0.120.0050.00316.90
8.0.110.0040.00416.77
8.0.100.0040.00416.82
8.0.90.0000.00716.76
8.0.80.0070.00717.01
8.0.70.0050.00316.91
8.0.60.0040.00416.94
8.0.50.0000.00716.83
8.0.30.0070.01117.02
8.0.20.0100.00917.40
8.0.10.0070.00016.82
8.0.00.0070.00916.63
7.4.330.0000.00516.73
7.4.320.0060.00016.45
7.4.300.0040.00416.44
7.4.290.0030.00316.45
7.4.280.0040.00416.34
7.4.270.0000.00716.50
7.4.260.0000.00616.34
7.4.250.0050.00316.51
7.4.240.0020.00516.33
7.4.230.0000.00716.27
7.4.220.0060.01216.32
7.4.210.0040.01416.52
7.4.200.0000.00716.31
7.4.160.0090.00616.36
7.4.150.0040.01417.40
7.4.140.0130.00817.86
7.4.130.0130.00816.40
7.4.120.0080.00916.46
7.4.110.0100.00716.50
7.4.100.0180.00716.29
7.4.90.0130.00316.39
7.4.80.0110.00619.39
7.4.70.0130.00416.33
7.4.60.0080.00816.52
7.4.50.0120.00316.36
7.4.40.0060.01016.42
7.4.30.0130.00316.40
7.4.00.0030.01115.14
7.3.330.0060.00013.18
7.3.320.0020.00213.18
7.3.310.0070.00016.25
7.3.300.0070.00016.32
7.3.290.0090.00616.25
7.3.280.0060.00916.31
7.3.270.0110.00517.40
7.3.260.0090.00916.32
7.3.250.0070.01016.33
7.3.240.0100.00716.43
7.3.230.0080.00916.39
7.3.210.0130.00316.40
7.3.200.0100.00616.25
7.3.190.0100.00716.25
7.3.180.0030.01216.20
7.3.170.0030.01816.27
7.3.160.0060.00916.32
7.3.10.0120.00916.04
7.3.00.0130.00615.77
7.2.330.0150.00416.32
7.2.320.0160.00716.83
7.2.310.0070.01316.38
7.2.300.0130.00316.61
7.2.290.0070.01016.64
7.2.130.0100.01016.15
7.2.120.0120.00916.50
7.2.110.0130.00316.32
7.2.100.0090.00915.96
7.2.90.0200.00716.32
7.2.80.0130.00916.34
7.2.70.0200.01417.11
7.2.60.0160.01016.56
7.2.50.0120.00616.51
7.2.40.0110.01415.99
7.2.30.0070.01016.34
7.2.20.0140.00316.07
7.2.10.0070.00716.28
7.2.00.0070.01118.04
7.1.250.0070.01314.95
7.1.200.0130.00415.66
7.1.100.0040.00817.76
7.1.70.0000.01517.07
7.1.60.0150.01119.36
7.1.50.0060.01616.63
7.1.00.0030.07322.54
7.0.200.0040.00416.43
7.0.60.0100.08020.05
7.0.50.0200.06717.79
7.0.40.0070.04020.04
7.0.30.0300.05320.12
7.0.20.0430.06719.97
7.0.10.0070.07720.16
7.0.00.0070.05320.33
5.6.280.0030.03320.98
5.6.210.0130.07320.72
5.6.200.0030.08718.09
5.6.190.0100.03720.67
5.6.180.0400.04720.32
5.6.170.0070.05020.53
5.6.160.0100.08020.33
5.6.150.0100.05018.21
5.6.140.0070.08018.11
5.6.130.0030.04718.21
5.6.120.0170.08021.04
5.6.110.0030.04320.97
5.6.100.0130.07720.97
5.6.90.0070.06721.07
5.6.80.0030.04020.39
5.5.350.3200.05020.38
5.5.340.0100.04317.93
5.5.330.0100.08320.23
5.5.320.0100.07720.26
5.5.310.0270.06020.29
5.5.300.0100.03717.91
5.5.290.0070.08317.98
5.5.280.0170.04320.79
5.5.270.0000.06020.96
5.5.260.0400.05020.86
5.5.250.0000.04320.61
5.5.240.0130.08320.11

preferences:
46.63 ms | 400 KiB | 5 Q