3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = false; $b = false; $c = false; if ($a && $b || ! $c) { echo "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.60.0180.00016.49
8.3.50.0110.00320.36
8.3.40.0080.00618.70
8.3.30.0070.00719.02
8.3.20.0000.00824.18
8.3.10.0070.00024.66
8.3.00.0000.00726.16
8.2.180.0110.00425.92
8.2.170.0100.00618.97
8.2.160.0110.00422.96
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00826.16
8.2.110.0030.00719.95
8.2.100.0060.00617.91
8.2.90.0040.00417.93
8.2.80.0090.00018.82
8.2.70.0040.00417.63
8.2.60.0080.00017.50
8.2.50.0040.00417.98
8.2.40.0000.00717.84
8.2.30.0070.00018.38
8.2.20.0000.00720.32
8.2.10.0000.00817.97
8.2.00.0030.00719.23
8.1.280.0110.00425.92
8.1.270.0080.00024.66
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0030.00723.91
8.1.230.0090.00320.88
8.1.220.0030.00618.59
8.1.210.0080.00018.77
8.1.200.0000.00917.53
8.1.190.0080.00017.23
8.1.180.0030.00618.10
8.1.170.0030.00617.62
8.1.160.0030.00520.67
8.1.150.0030.00718.67
8.1.140.0040.00417.45
8.1.130.0000.00718.92
8.1.120.0050.00317.47
8.1.110.0040.00417.41
8.1.100.0040.00417.43
8.1.90.0000.00717.46
8.1.80.0050.00317.38
8.1.70.0030.00317.35
8.1.60.0160.00817.48
8.1.50.0180.00417.46
8.1.40.0000.01517.43
8.1.30.0060.01017.47
8.1.20.0100.00317.63
8.1.10.0130.00417.41
8.1.00.0200.00417.37
8.0.300.0000.00718.77
8.0.290.0080.00016.75
8.0.280.0030.00318.31
8.0.270.0030.00316.82
8.0.260.0000.00618.29
8.0.250.0000.00716.85
8.0.240.0000.00716.93
8.0.230.0020.00516.95
8.0.220.0030.00316.85
8.0.210.0030.00316.79
8.0.200.0000.00716.85
8.0.190.0130.00716.85
8.0.180.0160.00316.82
8.0.170.0160.00416.89
8.0.160.0130.00816.70
8.0.150.0140.00716.80
8.0.140.0120.00816.70
8.0.130.0160.00316.74
8.0.120.0140.00516.90
8.0.110.0170.00316.85
8.0.100.0190.00316.66
8.0.90.0180.00316.70
8.0.80.0180.00416.72
8.0.70.0220.00016.82
8.0.60.0230.00016.82
8.0.50.0220.00016.74
8.0.30.0090.00916.71
8.0.20.0180.00416.88
8.0.10.0120.00716.86
7.4.330.0020.00215.55
7.4.320.0060.00016.59
7.4.300.0000.00716.58
7.4.290.0150.00416.57
7.4.280.0070.00716.32
7.4.270.0110.00416.45
7.4.260.0160.00016.44
7.4.250.0050.00316.54
7.4.240.0130.00516.46
7.4.230.0050.01516.46
7.4.220.0150.00316.57
7.4.210.0090.00416.29
7.4.200.0080.00516.39
7.4.190.0120.00516.63
7.4.180.0160.00316.65
7.4.160.0120.00516.53
7.4.150.0160.00316.45
7.4.140.0180.00316.35
7.4.130.0110.00716.37
7.4.120.0150.00416.23
7.4.110.0190.00316.21
7.4.100.0150.00616.30
7.4.90.0210.00016.21
7.4.80.0160.00516.35
7.4.70.0100.01016.35
7.4.60.0160.00416.43
7.4.50.0150.00416.30
7.4.40.0150.00416.26
7.4.30.0060.00616.28
7.4.20.0100.01016.25
7.4.10.0150.00416.18
7.4.00.0100.00316.41

preferences:
59.88 ms | 401 KiB | 5 Q