3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (true) { {}{}if (!false) { {}{}{}{}echo "True"; {}{}} } if (true) { ;;;;if (!false) { ;;;;;;;;echo "True"; ;;;;} } if (true) { /**/if (!false) { /**//**/echo "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.140.0040.00417.34
8.3.130.0040.00418.24
8.3.120.0100.00018.50
8.3.110.0100.00720.94
8.3.100.0030.00724.06
8.3.90.0140.00426.77
8.3.80.0060.00318.30
8.3.70.0100.00716.58
8.3.60.0030.01216.38
8.3.50.0130.00524.46
8.3.40.0150.00618.80
8.3.30.0090.00618.59
8.3.20.0040.00424.18
8.3.10.0050.00324.66
8.3.00.0030.00526.16
8.2.250.0090.00618.38
8.2.240.0030.00618.72
8.2.230.0030.00622.58
8.2.220.0080.00837.54
8.2.210.0040.01526.77
8.2.200.0030.00616.50
8.2.190.0110.00418.49
8.2.180.0100.01325.92
8.2.170.0140.00022.96
8.2.160.0130.00322.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0000.00721.04
8.2.110.0060.01022.26
8.2.100.0090.00317.72
8.2.90.0040.00417.63
8.2.80.0040.00418.82
8.2.70.0080.00017.93
8.2.60.0070.00018.16
8.2.50.0030.00619.33
8.2.40.0090.00020.96
8.2.30.0070.00019.18
8.2.20.0040.00417.93
8.2.10.0040.00419.18
8.2.00.0000.00719.11
8.1.300.0090.00617.63
8.1.290.0080.00330.84
8.1.280.0120.00625.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00723.75
8.1.230.0030.00920.90
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0100.00017.10
8.1.190.0040.00417.09
8.1.180.0040.00418.99
8.1.170.0080.00018.46
8.1.160.0070.00018.94
8.1.150.0000.00718.80
8.1.140.0080.00018.74
8.1.130.0030.00320.07
8.1.120.0040.00417.34
8.1.110.0040.00417.21
8.1.100.0040.00417.32
8.1.90.0000.00717.32
8.1.80.0030.00617.22
8.1.70.0030.00517.32
8.1.60.0000.00817.51
8.1.50.0050.00317.39
8.1.40.0020.00517.40
8.1.30.0030.00617.56
8.1.20.0040.00417.41
8.1.10.0000.00817.31
8.1.00.0060.00317.44
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.28
8.0.270.0030.00316.82
8.0.260.0060.00020.11
8.0.250.0030.00316.78
8.0.240.0030.00316.95
8.0.230.0000.00616.91
8.0.220.0060.00316.74
8.0.210.0000.00616.73
8.0.200.0080.00016.86
8.0.190.0000.00716.89
8.0.180.0000.00816.88
8.0.170.0060.00316.88
8.0.160.0040.00416.89
8.0.150.0040.00416.80
8.0.140.0000.00716.82
8.0.130.0000.00613.26
8.0.120.0000.00816.79
8.0.110.0000.00716.71
8.0.100.0000.00716.82
8.0.90.0030.00516.80
8.0.80.0070.00716.72
8.0.70.0000.00716.85
8.0.60.0080.00016.82
8.0.50.0080.00016.80
8.0.30.0030.01516.79
8.0.20.0180.01116.88
8.0.10.0000.00716.76
8.0.00.0200.00416.66
7.4.330.0000.00615.55
7.4.320.0030.00316.43
7.4.300.0060.00016.45
7.4.290.0030.00616.41
7.4.280.0060.00316.30
7.4.270.0030.00316.36
7.4.260.0070.00016.40
7.4.250.0040.00316.43
7.4.240.0030.00316.32
7.4.230.0030.00316.46
7.4.220.0020.00516.39
7.4.210.0030.01116.45
7.4.200.0040.00216.46
7.4.130.0030.01316.26
7.4.120.0090.00916.35
7.4.110.0080.00816.27
7.4.100.0150.00316.52
7.4.90.0040.01516.42
7.4.80.0090.00916.24
7.4.70.0060.01316.31
7.4.60.0100.00816.31
7.4.50.0100.00916.31
7.4.40.0090.00916.33
7.4.30.0090.00916.35
7.4.20.0100.00816.32
7.4.10.0100.00916.32
7.4.00.0090.00916.35
7.3.330.0000.00716.11
7.3.320.0050.00013.17
7.3.310.0000.00716.23
7.3.300.0040.00416.14
7.3.290.0050.00816.22
7.3.260.0060.01216.22
7.3.240.0070.01016.34
7.3.230.0070.01016.11
7.3.220.0100.01016.45
7.3.210.0130.00616.41
7.3.200.0090.01116.38
7.3.190.0110.01016.38
7.3.180.0090.00916.21
7.3.170.0100.00816.27
7.3.160.0100.00816.27
7.3.150.0100.00816.25
7.3.140.0090.01016.24
7.3.130.0090.00916.26
7.3.120.0100.00816.22
7.3.110.0110.00816.19
7.3.100.0100.00916.22
7.3.90.0090.00916.23
7.3.80.0100.00916.23
7.3.70.0100.00816.19
7.3.60.0100.00916.20
7.3.50.0100.00816.20
7.3.40.0090.00916.15
7.3.30.0100.00816.19
7.3.20.0110.00816.32
7.3.10.0120.00716.29
7.3.00.0100.00916.31
7.2.330.0090.00816.38
7.2.320.0140.00516.38
7.2.310.0090.01016.32
7.2.300.0100.00916.38
7.2.290.0100.00916.34
7.2.280.0100.00916.35
7.2.270.0100.00816.35
7.2.260.0090.01016.34
7.2.250.0090.00916.34
7.2.240.0100.00916.37
7.2.230.0110.00816.34
7.2.220.0110.00916.35
7.2.210.0100.01016.33
7.2.200.0090.01016.33
7.2.190.0090.01016.33
7.2.180.0100.00916.33
7.2.170.0100.00916.30
7.2.160.0100.00816.29
7.2.150.0100.01016.48
7.2.140.0130.00816.49
7.2.130.0090.01016.50
7.2.120.0120.00916.52
7.2.110.0100.00916.53
7.2.100.0100.00916.48
7.2.90.0100.00916.52
7.2.80.0110.00916.49
7.2.70.0110.01016.51
7.2.60.0120.00916.52
7.2.50.0120.00816.50
7.2.40.0120.00916.57
7.2.30.0120.00916.57
7.2.20.0100.00916.50
7.2.10.0110.00916.48
7.2.00.0100.00816.50

preferences:
69.94 ms | 403 KiB | 5 Q