3v4l.org

run code in 300+ PHP versions simultaneously
<?php $j = 10; while ($j > -10) { $j--; if ($j == 0) continue; each (10/$j) . "\n"; }

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.0060.00916.75
8.3.50.0100.01022.11
8.3.40.0110.00418.97
8.3.30.0100.00318.92
8.3.20.0070.00020.21
8.3.10.0040.00423.48
8.3.00.0050.00319.68
8.2.180.0130.01016.63
8.2.170.0140.00022.96
8.2.160.0070.00720.43
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0040.00419.36
8.2.110.0060.00322.07
8.2.100.0050.00518.89
8.1.280.0200.00025.92
8.1.270.0000.00823.96
8.1.260.0040.00426.35
8.1.250.0050.00228.09
8.1.240.0060.00318.57
8.1.230.0090.00018.43
5.4.300.0050.03712.47
5.4.290.0080.04112.46
5.4.280.0050.03612.36
5.4.270.0080.03812.36
5.4.260.0050.03812.36
5.4.250.0090.04012.36
5.4.240.0060.03412.36
5.4.230.0080.03512.36
5.4.220.0050.03612.36
5.4.210.0090.04312.35
5.4.200.0080.04212.35
5.4.190.0110.03612.35
5.4.180.0080.03212.35
5.4.170.0050.04112.36
5.4.160.0090.03612.36
5.4.150.0070.03512.35
5.4.140.0070.03612.04
5.4.130.0030.03812.02
5.4.120.0060.03411.99
5.4.110.0080.03311.98
5.4.100.0080.03511.98
5.4.90.0050.03711.98
5.4.80.0030.03911.98
5.4.70.0050.03511.97
5.4.60.0070.03311.98
5.4.50.0080.03311.97
5.4.40.0040.03611.96
5.4.30.0080.03411.95
5.4.20.0070.03511.96
5.4.10.0060.03511.96
5.4.00.0070.03511.45
5.3.280.0070.03712.71
5.3.270.0070.03812.72
5.3.260.0050.04012.72
5.3.250.0040.03912.71
5.3.240.0080.03512.72
5.3.230.0100.03412.71
5.3.220.0050.03712.68
5.3.210.0090.03512.68
5.3.200.0080.03512.68
5.3.190.0060.03812.68
5.3.180.0070.03712.68
5.3.170.0040.04012.66
5.3.160.0080.03512.68
5.3.150.0040.04112.67
5.3.140.0040.03812.66
5.3.130.0070.03812.66
5.3.120.0080.03612.66
5.3.110.0060.04012.65
5.3.100.0030.04012.12
5.3.90.0060.03612.09
5.3.80.0070.03512.07
5.3.70.0040.03812.07
5.3.60.0060.03512.07
5.3.50.0040.03912.00
5.3.40.0060.03812.00
5.3.30.0040.03711.94
5.3.20.0040.03811.72
5.3.10.0040.03711.69
5.3.00.0030.03911.68

preferences:
34.93 ms | 401 KiB | 5 Q