3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 1 && 2 && 1 && 0; $foo++; echo ($foo === false) ? 'false' : '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.00718.68
8.3.50.0060.01216.75
8.3.40.0060.00920.34
8.3.30.0070.00718.54
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0070.00726.16
8.2.180.0170.00316.38
8.2.170.0000.01419.00
8.2.160.0060.00822.96
8.2.150.0040.00425.66
8.2.140.0000.00724.66
8.2.130.0050.00226.16
8.2.120.0040.00421.07
8.2.110.0040.01822.11
8.2.100.0090.00317.72
8.2.90.0050.00322.16
8.2.80.0030.00617.97
8.2.70.0030.00617.93
8.2.60.0050.00317.93
8.2.50.0080.00018.10
8.2.40.0040.00419.98
8.2.30.0030.00618.15
8.2.20.0040.00419.30
8.2.10.0080.00517.77
8.2.00.0090.00517.85
8.1.280.0120.00925.92
8.1.270.0040.00424.66
8.1.260.0030.00526.35
8.1.250.0000.00728.09
8.1.240.0090.00022.50
8.1.230.0030.00722.75
8.1.220.0040.00417.77
8.1.210.0040.00418.85
8.1.200.0040.00417.22
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0040.00418.86
8.1.160.0040.00418.87
8.1.150.0000.00718.62
8.1.140.0080.00517.55
8.1.130.0090.00417.48
8.1.120.0080.00517.54
8.1.110.0090.00417.55
8.1.100.0090.00517.48
8.1.90.0080.00517.55
8.1.80.0090.00517.58
8.1.70.0090.00517.53
8.1.60.0100.00517.64
8.1.50.0090.00517.58
8.1.40.0100.00517.67
8.1.30.0090.00517.65
8.1.20.0100.00417.65
8.1.10.0100.00517.58
8.1.00.0100.00517.53
8.0.300.0070.00020.04
8.0.290.0060.00616.75
8.0.280.0050.00318.54
8.0.270.0080.00416.83
8.0.260.0080.00416.92
8.0.250.0070.00516.96
8.0.240.0080.00517.00
8.0.230.0080.00416.88
8.0.220.0080.00416.84
8.0.210.0080.00416.84
8.0.200.0080.00416.96
8.0.190.0080.00416.95
8.0.180.0090.00416.96
8.0.170.0080.00416.96
8.0.160.0080.00516.96
8.0.150.0080.00416.88
8.0.140.0090.00416.89
8.0.130.0080.00516.89
8.0.120.0080.00416.86
8.0.110.0070.00516.86
8.0.100.0080.00416.87
8.0.90.0070.00516.86
8.0.80.0080.00416.87
8.0.70.0080.00416.81
8.0.60.0080.00516.85
8.0.50.0080.00416.82
8.0.30.0080.00516.87
8.0.20.0080.00516.95
8.0.10.0070.00517.00

preferences:
44.91 ms | 400 KiB | 5 Q