3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (range(1, 2, 0.1) as $r) { if ($r === 1.2) { echo $r; } }

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.1.70.0000.00717.45
8.1.60.0000.00817.46
8.1.50.0000.00817.54
8.1.40.0000.01117.47
8.1.30.0000.00817.65
8.1.20.0000.00917.47
8.1.10.0000.00817.41
8.1.00.0040.00417.43
8.0.200.0000.00716.89
8.0.190.0000.00716.99
8.0.180.0040.00416.79
8.0.170.0060.00316.89
8.0.160.0040.00416.93
8.0.150.0000.00716.92
8.0.140.0000.00716.92
8.0.130.0030.00313.30
8.0.120.0030.00516.75
8.0.110.0040.00416.97
8.0.100.0070.00016.81
8.0.90.0040.00416.93
8.0.80.0000.00717.01
8.0.70.0080.00016.90
8.0.60.0070.00016.97
8.0.50.0070.00016.98
8.0.30.0000.00816.82
8.0.20.0040.00416.88
8.0.10.0000.00717.00
8.0.00.0030.00617.10
7.4.300.0000.00616.46
7.4.290.0030.00316.40
7.4.280.0070.00016.59
7.4.270.0070.00016.56
7.4.260.0030.00313.22
7.4.250.0070.00016.56
7.4.240.0080.00016.57
7.4.230.0030.00316.59
7.4.220.0040.00416.68
7.4.210.0030.00316.58
7.4.200.0030.00316.57
7.4.190.0000.00716.53
7.4.180.0030.00316.46
7.4.160.0040.00416.56
7.4.150.0000.00716.60
7.4.140.0030.00316.39
7.4.130.0000.00716.59
7.4.120.0040.00416.40
7.4.110.0060.00016.52
7.4.100.0070.00016.68
7.4.90.0050.00216.71
7.4.80.0030.00316.68
7.4.70.0000.00616.38
7.4.60.0000.00616.50
7.4.50.0000.00716.56
7.4.40.0040.00416.47
7.4.30.0030.00316.50
7.4.20.0040.00416.31
7.4.10.0070.00016.63
7.4.00.0040.00416.64
7.3.330.0040.00416.35
7.3.320.0000.00613.27
7.3.310.0030.00316.36
7.3.300.0040.00416.22
7.3.290.0040.00416.37
7.3.280.0000.00716.39
7.3.270.0030.00316.40
7.3.260.0080.00016.26
7.3.250.0080.00016.40
7.3.240.0020.00516.42
7.3.230.0000.00716.41
7.3.220.0030.00316.32
7.3.210.0040.00416.35
7.3.200.0060.00316.27
7.3.190.0040.00416.34
7.3.180.0040.00416.32
7.3.170.0000.00816.27
7.3.160.0030.00316.34
7.3.150.0040.00416.17
7.3.140.0000.00816.31
7.3.130.0040.00416.31
7.3.120.0030.00316.26
7.3.110.0030.00316.29
7.3.100.0000.00716.30
7.3.90.0040.00416.57
7.3.80.0020.00516.18
7.3.70.0040.00416.21
7.3.60.0000.00716.48
7.3.50.0020.00516.45
7.3.40.0060.00016.43
7.3.30.0060.00016.34
7.3.20.0040.00416.54
7.3.10.0040.00416.48
7.3.00.0000.00716.33

preferences:
11.1 ms | 406 KiB | 5 Q