3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo [1,2,3];

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.0rc40.0180.00798.97
7.3.0rc30.0100.00716.32
7.3.0beta10.0060.00312.41
7.2.00.0030.00919.30
7.1.200.0000.01415.21
7.1.100.0040.00417.48
7.1.70.0040.00416.95
7.1.60.0170.00717.13
7.1.50.0090.00616.80
7.1.00.0000.06022.33
7.0.200.0060.01016.62
7.0.140.0000.07722.08
7.0.60.0070.06719.98
7.0.50.0030.08317.87
7.0.40.0070.05320.06
7.0.30.0230.04020.20
7.0.20.0330.07720.19
7.0.10.0130.08020.18
7.0.00.0070.08720.18
5.6.280.0030.07321.05
5.6.210.0100.07720.69
5.6.200.0100.07718.12
5.6.190.0070.08320.41
5.6.180.3400.04320.45
5.6.170.0200.04020.51
5.6.160.0070.04320.52
5.6.150.0070.04018.16
5.6.140.0070.06718.18
5.6.130.0130.04318.11
5.6.120.0170.06020.89
5.6.110.0100.08021.00
5.6.100.0100.07720.97
5.6.90.0000.09021.05
5.6.80.0200.06720.39
5.6.70.4530.04320.39
5.5.350.0200.08020.34
5.5.340.0070.07717.87
5.5.330.0100.07320.37
5.5.320.2970.04320.30
5.5.310.0300.07020.34
5.5.300.0200.06717.96
5.5.290.0130.03717.92
5.5.280.0130.03720.89
5.5.270.0170.07720.84
5.5.260.0170.08020.86
5.5.250.0170.06320.57
5.5.240.0270.07320.03
5.4.450.0600.06019.63
5.4.440.0800.05319.61
5.4.430.0900.04719.63
5.4.420.0130.05019.15
5.4.410.0130.06718.95
5.4.400.0370.04718.76
5.4.390.0330.05318.40
5.4.380.0330.04318.69
5.4.370.0130.05018.64
5.4.360.0000.05018.71
5.4.350.0060.04011.97
5.4.340.0050.03811.96
5.4.320.0050.04112.45
5.4.310.0060.04612.45
5.4.300.0080.03912.45
5.4.290.0070.04312.45
5.4.280.0080.04112.35
5.4.270.0070.04112.34
5.4.260.0060.04412.35
5.4.250.0100.04612.35
5.4.240.0100.04512.35
5.4.230.0070.04912.34
5.4.220.0060.04512.34
5.4.210.0070.04412.34
5.4.200.0080.05012.34
5.4.190.0130.04412.33
5.4.180.0090.05012.33
5.4.170.0090.05012.35
5.4.160.0090.04912.34
5.4.150.0120.04312.34
5.4.140.0080.04812.02
5.4.130.0080.04512.01
5.4.120.0080.04511.97
5.4.110.0080.04411.96
5.4.100.0070.04511.96
5.4.90.0070.04711.96
5.4.80.0100.04511.96
5.4.70.0080.04511.96
5.4.60.0080.04611.96
5.4.50.0070.04711.96
5.4.40.0070.04811.95
5.4.30.0060.04611.95
5.4.20.0080.04311.95
5.4.10.0080.04611.95
5.4.00.0080.04911.43
5.3.290.0120.04312.80
5.3.280.0090.04612.71
5.3.270.0080.04812.72
5.3.260.0100.04612.72
5.3.250.0100.04712.72
5.3.240.0100.04812.72
5.3.230.0120.04212.71
5.3.220.0080.05212.68
5.3.210.0080.04712.68
5.3.200.0070.04512.68
5.3.190.0080.04312.68
5.3.180.0060.04312.68
5.3.170.0060.04512.67
5.3.160.0080.03912.67
5.3.150.0080.04112.67
5.3.140.0080.04112.66
5.3.130.0110.04612.66
5.3.120.0080.05112.66
5.3.110.0100.05312.66
5.3.100.0090.04712.12
5.3.90.0080.04512.08
5.3.80.0090.04212.07
5.3.70.0070.04612.08
5.3.60.0070.04612.07
5.3.50.0080.04412.00
5.3.40.0090.04612.00
5.3.30.0090.04311.95
5.3.20.0080.04211.73
5.3.10.0090.04311.70
5.3.00.0060.04411.68