3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo json_encode([ 'lts' => '2.3.21', 'latest' => '2.5.6', 'dev' => '2.6.0-beta1', '2.3' => '2.3.21', '2.5' => '2.5.6', '2.6' => '2.6.0-beta1', 'installable' => ['2.3.21', '2.5.6', ...] 'non_installable' => ['2.0.0', '2.0.1', ..., '2.1.0', ..., '2.4.0', ..., '2.5.0', '2.5.1', ...] ]);

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.0100.03612.01
5.4.340.0070.04012.01
5.4.320.0080.04112.50
5.4.310.0070.04012.49
5.4.300.0060.04112.50
5.4.290.0100.04212.49
5.4.280.0030.03912.39
5.4.270.0060.04312.39
5.4.260.0070.03912.39
5.4.250.0040.04212.39
5.4.240.0020.04612.39
5.4.230.0050.04212.38
5.4.220.0040.04012.38
5.4.210.0080.03412.38
5.4.200.0060.03912.38
5.4.190.0070.03912.38
5.4.180.0090.04512.38
5.4.170.0120.05212.38
5.4.160.0100.07112.38
5.4.150.0070.04112.38
5.4.140.0080.04412.07
5.4.130.0080.04212.05
5.4.120.0100.03812.02
5.4.110.0110.06612.01
5.4.100.0070.03812.01
5.4.90.0080.03812.01
5.4.80.0110.04112.01
5.4.70.0080.03512.01
5.4.60.0080.03312.00
5.4.50.0080.03512.01
5.4.40.0080.04112.00
5.4.30.0040.03811.99
5.4.20.0090.03311.99
5.4.10.0090.04112.00
5.4.00.0070.03611.48
5.3.290.0050.05712.80
5.3.280.0060.05012.71
5.3.270.0060.04112.73
5.3.260.0070.04012.72
5.3.250.0120.04512.71
5.3.240.0100.04412.72
5.3.230.0070.04012.71
5.3.220.0080.04012.68
5.3.210.0080.04012.68
5.3.200.0090.05312.68
5.3.190.0120.03812.68
5.3.180.0070.03812.67
5.3.170.0080.03712.67
5.3.160.0110.03412.67
5.3.150.0110.03812.67
5.3.140.0080.04112.66
5.3.130.0070.03912.66
5.3.120.0060.04312.65
5.3.110.0200.08612.66
5.3.100.0280.10112.12
5.3.90.0260.08812.09
5.3.80.0230.09212.08
5.3.70.0280.13212.07
5.3.60.0150.06312.06
5.3.50.0190.05812.00
5.3.40.0150.06612.00
5.3.30.0310.09611.95
5.3.20.0150.06811.73
5.3.10.0140.05811.70
5.3.00.0180.07111.68
5.2.170.0140.0669.18
5.2.160.0180.0629.18
5.2.150.0260.0789.18
5.2.140.0120.0849.18
5.2.130.0150.0659.14
5.2.120.0230.0629.13
5.2.110.0090.0689.15
5.2.100.0120.0699.14
5.2.90.0180.0909.14
5.2.80.0090.0449.14
5.2.70.0120.0449.14
5.2.60.0140.0809.09
5.2.50.0130.0649.06
5.2.40.0090.0569.03
5.2.30.0060.0469.01
5.2.20.0070.0459.00
5.2.10.0080.0418.93
5.2.00.0090.0368.79
5.1.60.0080.0488.07
5.1.50.0050.0258.06
5.1.40.0060.0288.05
5.1.30.0060.0298.40
5.1.20.0060.0288.42
5.1.10.0060.0298.14
5.1.00.0110.0408.14
5.0.50.0070.0366.62
5.0.40.0090.0386.48
5.0.30.0050.0686.29
5.0.20.0210.0556.26
5.0.10.0070.0266.24
5.0.00.0060.0446.23
4.4.90.0160.0754.78
4.4.80.0070.0324.75
4.4.70.0020.0324.75
4.4.60.0060.0334.75
4.4.50.0090.0294.77
4.4.40.0040.0284.71
4.4.30.0110.0504.76
4.4.20.0030.0214.84
4.4.10.0040.0384.85
4.4.00.0110.0364.76
4.3.110.0050.0144.67
4.3.100.0080.0254.67
4.3.90.0040.0164.64
4.3.80.0050.0264.58
4.3.70.0040.0304.63
4.3.60.0090.0434.63
4.3.50.0130.0364.63
4.3.40.0090.0534.54
4.3.30.0020.0273.28
4.3.20.0130.0663.27
4.3.10.0120.0403.22
4.3.00.0000.0236.77

preferences:
137.42 ms | 1386 KiB | 7 Q