3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace what; use const false as true; echo 4 + true;

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.0070.01018.18
8.3.50.0120.00916.31
8.3.40.0110.00418.73
8.3.30.0100.00718.79
8.3.20.0070.00020.04
8.3.10.0040.00423.56
8.3.00.0030.00717.25
8.2.180.0090.00616.50
8.2.170.0070.00722.96
8.2.160.0100.00320.55
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0050.00322.27
8.2.110.0030.00622.30
8.2.100.0040.00717.63
8.2.90.0000.00919.09
8.2.80.0050.00317.97
8.2.70.0050.00517.38
8.2.60.0040.00417.90
8.2.50.0040.00718.07
8.2.40.0060.00319.71
8.2.30.0080.00017.85
8.2.20.0050.00317.45
8.2.10.0070.00017.79
8.2.00.0000.00717.46
8.1.280.0140.00025.92
8.1.270.0080.00022.14
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00320.82
8.1.230.0070.00419.11
8.1.220.0030.00617.74
8.1.210.0050.00318.77
8.1.200.0000.00817.22
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.46
8.1.160.0040.00421.89
8.1.150.0040.00418.75
8.1.140.0080.00017.22
8.1.130.0030.00317.74
8.1.120.0040.00417.34
8.1.110.0040.00417.20
8.1.100.0030.00417.20
8.1.90.0000.00717.20
8.1.80.0040.00417.15
8.1.70.0020.00517.30
8.1.60.0030.00617.41
8.1.50.0040.00417.34
8.1.40.0030.00617.45
8.1.30.0000.00817.55
8.1.20.0000.00717.49
8.1.10.0040.00417.32
8.1.00.0070.00017.34
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.27
8.0.270.0040.00417.05
8.0.260.0060.00017.18
8.0.250.0050.00216.89
8.0.240.0030.00316.67
8.0.230.0030.00316.72
8.0.220.0050.00216.74
8.0.210.0020.00516.59
8.0.200.0040.00416.80
8.0.190.0080.00016.82
8.0.180.0000.00716.66
8.0.170.0000.00816.76
8.0.160.0000.00716.65
8.0.150.0070.00016.58
8.0.140.0050.00216.59
8.0.130.0070.00013.20
8.0.120.0000.00816.79
8.0.110.0040.00416.69
8.0.100.0030.00616.59
8.0.90.0000.00716.67
8.0.80.0030.01316.81
8.0.70.0040.00416.75
8.0.60.0040.00416.68
8.0.50.0080.00016.72
8.0.30.0060.01416.94
8.0.20.0070.01217.40
8.0.10.0000.00716.93
8.0.00.0110.00616.63
7.4.330.0000.00615.02
7.4.320.0030.00316.37
7.4.300.0060.00016.45
7.4.290.0000.00716.45
7.4.280.0000.00716.46
7.4.270.0000.00716.38
7.4.260.0040.00416.25
7.4.250.0000.00716.30
7.4.240.0020.00516.35
7.4.230.0070.00016.44
7.4.220.0030.01416.41
7.4.210.0120.00316.45
7.4.200.0040.00416.35
7.4.160.0090.00616.23
7.4.150.0140.00317.40
7.4.140.0100.00817.86
7.4.130.0070.01316.38
7.4.120.0070.01216.38
7.4.110.0100.00716.11
7.4.100.0090.01216.26
7.4.90.0060.01316.45
7.4.80.0130.00319.39
7.4.70.0100.01016.42
7.4.60.0080.00816.46
7.4.50.0000.00516.45
7.4.40.0050.01516.36
7.4.30.0100.00716.32
7.4.00.0060.00914.97
7.3.330.0060.00013.08
7.3.320.0020.00213.04
7.3.310.0000.00716.20
7.3.300.0060.00016.04
7.3.290.0100.00316.12
7.3.280.0080.00816.10
7.3.270.0070.01317.40
7.3.260.0130.00416.40
7.3.250.0050.01316.15
7.3.240.0110.00616.14
7.3.230.0100.00716.39
7.3.210.0030.01416.19
7.3.200.0040.01419.39
7.3.190.0110.00616.51
7.3.180.0040.01516.21
7.3.170.0030.01316.36
7.3.160.0070.01016.20
7.2.330.0100.00616.41
7.2.320.0130.00316.32
7.2.310.0100.00616.56
7.2.300.0140.00316.47
7.2.290.0100.00716.46
7.2.00.0040.00819.27
7.1.200.0090.00315.52
7.1.100.0030.01018.05
7.1.70.0050.00316.82
7.1.60.0000.01119.32
7.1.50.0070.01716.80
7.1.00.0070.07322.34
7.0.200.0070.00316.82
7.0.140.0070.06721.98
7.0.60.0070.06319.90
7.0.50.0000.08317.66
7.0.40.0100.07320.04
7.0.30.0230.04020.21
7.0.20.0330.07020.15
7.0.10.0030.06020.20
7.0.00.0030.06020.08
5.6.280.0000.07321.07
5.6.210.0070.04720.54
5.6.200.0030.04718.19
5.6.190.0000.07020.61
5.6.180.0530.07320.39
5.6.170.0230.06020.40
5.6.160.0130.07720.49
5.6.150.0030.03718.22
5.6.140.0100.08318.12
5.6.130.0030.04018.21
5.6.120.0130.07720.89
5.6.110.0200.07320.95
5.6.100.0170.08021.01
5.6.90.0000.06721.11
5.6.80.0070.07720.50
5.5.350.0400.06320.46
5.5.340.0100.08017.92
5.5.330.0030.08720.19
5.5.320.0300.07720.30
5.5.310.0300.04320.34
5.5.300.0070.08317.98
5.5.290.0100.03717.98
5.5.280.0070.08020.76
5.5.270.0070.06020.76
5.5.260.0070.08320.79
5.5.250.0100.03320.71
5.5.240.0030.07020.25
5.4.450.0170.04019.42
5.4.440.0170.03019.41
5.4.430.0230.04719.56
5.4.420.0670.00019.56
5.4.410.0630.00019.44
5.4.400.0630.00019.08
5.4.390.0630.00019.07
5.4.380.0700.00019.07
5.4.370.0600.00019.09
5.4.360.0600.00019.12
5.4.350.0670.00019.25
5.4.340.0100.03012.00
5.4.320.0070.03912.50
5.4.310.0090.03512.49
5.4.300.0040.03812.50
5.4.290.0040.04012.49
5.4.280.0040.03712.39
5.4.270.0020.04012.39
5.4.260.0050.04012.39
5.4.250.0060.03712.39
5.4.240.0050.04912.39
5.4.230.0070.03812.38
5.4.220.0040.04012.38
5.4.210.0040.03712.38
5.4.200.0060.03712.38
5.4.190.0060.03512.38
5.4.180.0090.04112.38
5.4.170.0060.03512.39
5.4.160.0050.03612.38
5.4.150.0040.03912.38
5.4.140.0030.03912.07
5.4.130.0060.03512.05
5.4.120.0070.03312.02
5.4.110.0070.03912.01
5.4.100.0050.03512.01
5.4.90.0070.03512.01
5.4.80.0060.03612.01
5.4.70.0080.03212.01
5.4.60.0050.03512.00
5.4.50.0060.03512.01
5.4.40.0050.03712.00
5.4.30.0050.03612.00
5.4.20.0060.03411.98
5.4.10.0070.03311.99
5.4.00.0030.03811.48

preferences:
37.03 ms | 400 KiB | 5 Q