3v4l.org

run code in 300+ PHP versions simultaneously
<?php $step = 3; $steps = range($1, $10, $step); $step_number = count($steps); foreach ($steps as $index => $boundary) { $from = $boundary; $to = $steps[$index+1]; var_dump($from, $to); } var_dump("done!");

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)
5.4.350.0110.04912.01
5.4.340.0140.06812.01
5.4.320.0070.08012.50
5.4.310.0160.06612.50
5.4.300.0130.07112.50
5.4.290.0170.05412.50
5.4.280.0040.04112.39
5.4.270.0090.03912.39
5.4.260.0080.04512.39
5.4.250.0050.06412.39
5.4.240.0120.07212.39
5.4.230.0190.08312.38
5.4.220.0110.07812.38
5.4.210.0200.08712.38
5.4.200.0130.05312.38
5.4.190.0070.03912.38
5.4.180.0070.04012.38
5.4.170.0100.03812.39
5.4.160.0080.04212.38
5.4.150.0060.04012.38
5.4.140.0060.04312.07
5.4.130.0180.08312.05
5.4.120.0170.05712.01
5.4.110.0110.08012.02
5.4.100.0110.03712.01
5.4.90.0230.10212.01
5.4.80.0120.05912.01
5.4.70.0130.06612.01
5.4.60.0210.08712.01
5.4.50.0150.07912.01
5.4.40.0080.04312.00
5.4.30.0110.07111.99
5.4.20.0100.04011.99
5.4.10.0100.04311.99
5.4.00.0090.04211.48
5.3.290.0090.05412.80
5.3.280.0060.05012.71
5.3.270.0140.06112.72
5.3.260.0080.04712.72
5.3.250.0070.04412.72
5.3.240.0080.04112.72
5.3.230.0130.05312.71
5.3.220.0070.05012.68
5.3.210.0070.05312.68
5.3.200.0080.04012.68
5.3.190.0060.04512.68
5.3.180.0110.04212.68
5.3.170.0100.03612.67
5.3.160.0070.04812.67
5.3.150.0080.04712.67
5.3.140.0070.05612.66
5.3.130.0070.04712.65
5.3.120.0150.08112.66
5.3.110.0070.06612.66
5.3.100.0060.04912.12
5.3.90.0080.04912.08
5.3.80.0060.05212.07
5.3.70.0060.05012.08
5.3.60.0060.04412.06
5.3.50.0100.04712.00
5.3.40.0070.05612.00
5.3.30.0070.04511.95
5.3.20.0210.07111.73
5.3.10.0080.03911.70
5.3.00.0110.07311.68
5.2.170.0050.0319.18
5.2.160.0060.0369.18
5.2.150.0140.0749.18
5.2.140.0180.0729.18
5.2.130.0120.0599.14
5.2.120.0100.0619.14
5.2.110.0080.0499.14
5.2.100.0150.0749.14
5.2.90.0210.0599.14
5.2.80.0200.0509.14
5.2.70.0110.0459.14
5.2.60.0130.0569.09
5.2.50.0090.0459.06
5.2.40.0080.0369.04
5.2.30.0060.0389.01
5.2.20.0060.0339.00
5.2.10.0060.0398.93
5.2.00.0070.0478.78
5.1.60.0050.0348.07
5.1.50.0070.0278.06
5.1.40.0050.0358.05
5.1.30.0050.0368.40
5.1.20.0070.0508.42
5.1.10.0030.0388.14
5.1.00.0120.0508.14
5.0.50.0070.0406.63
5.0.40.0160.0476.48
5.0.30.0140.0546.29
5.0.20.0050.0286.26
5.0.10.0060.0206.24
5.0.00.0110.0456.23
4.4.90.0040.0204.78
4.4.80.0070.0304.76
4.4.70.0100.0324.75
4.4.60.0030.0244.76
4.4.50.0030.0184.77
4.4.40.0050.0294.71
4.4.30.0060.0254.76
4.4.20.0030.0184.85
4.4.10.0040.0164.85
4.4.00.0060.0294.76
4.3.110.0080.0244.67
4.3.100.0040.0164.66
4.3.90.0040.0194.63
4.3.80.0050.0254.59
4.3.70.0030.0174.63
4.3.60.0050.0144.62
4.3.50.0030.0164.63
4.3.40.0020.0284.54
4.3.30.0020.0173.28
4.3.20.0030.0173.27
4.3.10.0020.0183.22
4.3.00.0130.0236.76

preferences:
140.2 ms | 1394 KiB | 7 Q