3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( array_map('intval', explode(',',null)));
based on olZFN

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.00.0070.00316.67
7.2.130.0030.01016.85
7.2.120.0060.00616.78
7.2.110.0070.00416.59
7.2.100.0000.01116.66
7.2.90.0050.00516.98
7.2.80.0060.00316.75
7.2.70.0100.00716.73
7.2.60.0030.00916.70
7.2.50.0030.01316.61
7.2.40.0090.00616.64
7.2.30.0060.00616.54
7.2.20.0060.00616.85
7.2.10.0040.00416.89
7.2.00.0020.01017.95
7.1.250.0070.00315.68
7.1.240.0080.00315.56
7.1.230.0030.00615.35
7.1.220.0090.00315.80
7.1.210.0050.00515.63
7.1.200.0040.01115.46
7.1.190.0070.00715.80
7.1.180.0060.00615.58
7.1.170.0000.00815.61
7.1.160.0030.00715.63
7.1.150.0070.00415.73
7.1.140.0040.00715.74
7.1.130.0030.00715.56
7.1.120.0030.00715.57
7.1.110.0000.01215.81
7.1.100.0080.00316.91
7.1.90.0030.00915.71
7.1.80.0080.00015.85
7.1.70.0060.01116.44
7.1.60.0070.01217.43
7.1.50.0030.01116.14
7.1.40.0040.00415.84
7.1.30.0080.00415.58
7.1.20.0090.00015.73
7.1.10.0070.00715.46
7.1.00.0110.04519.01
7.0.330.0030.00615.00
7.0.320.0060.00315.38
7.0.310.0000.01215.22
7.0.300.0030.00715.21
7.0.290.0070.00415.30
7.0.280.0090.00015.19
7.0.270.0040.00415.24
7.0.260.0060.00615.13
7.0.250.0090.00015.39
7.0.240.0030.00715.40
7.0.230.0070.00415.50
7.0.220.0070.00315.05
7.0.210.0100.00715.08
7.0.200.0090.00215.83
7.0.190.0060.00315.44
7.0.180.0040.00415.28
7.0.170.0050.00515.22
7.0.160.0030.00715.24
7.0.150.0060.00915.19
7.0.140.0020.02118.52
7.0.130.0030.00915.03
7.0.120.0060.00615.03
7.0.110.0050.00515.18
7.0.100.0030.00715.43
7.0.90.0070.00315.09
7.0.80.0030.00615.33
7.0.70.0060.00314.97
7.0.60.0070.04017.59
7.0.50.0110.04116.67
7.0.40.0070.03716.79
7.0.30.0250.03016.65
7.0.20.0120.03616.76
7.0.10.0120.04316.79
7.0.00.0110.04216.70
5.6.380.0080.00314.28
5.6.370.0000.01113.99
5.6.360.0110.00014.19
5.6.350.0030.00714.02
5.6.340.0070.00313.85
5.6.330.0060.00314.02
5.6.320.0030.01014.00
5.6.310.0040.00714.41
5.6.300.0030.00614.26
5.6.290.0050.00814.02
5.6.280.0090.03717.77
5.6.270.0100.00313.85
5.6.260.0060.00914.08
5.6.250.0040.00714.18
5.6.240.0000.01114.09
5.6.230.0050.00314.03
5.6.220.0090.00314.08
5.6.210.0050.04417.31
5.6.200.0040.02716.19
5.6.190.0080.04717.26
5.6.180.0100.03417.25
5.6.170.0190.03017.49
5.6.160.0060.04317.21
5.6.150.0020.02716.09
5.6.140.0080.02516.06
5.6.130.0040.02916.01
5.6.120.0050.02317.48
5.6.110.0040.03417.54
5.6.100.0090.04317.53
5.6.90.0070.03717.48
5.6.80.0100.03017.27
5.6.70.0000.01114.03
5.6.60.0090.00313.87
5.6.50.0000.00914.09
5.6.40.0070.00714.07
5.6.30.0100.00314.32
5.6.20.0070.00714.15
5.6.10.0000.01213.67
5.6.00.0040.00814.05
5.5.380.0060.00610.90
5.5.370.0060.00610.90
5.5.360.0050.00210.90
5.5.350.0080.03015.69
5.5.340.0100.01814.45
5.5.330.0020.04915.63
5.5.320.0190.04115.51
5.5.310.0200.03915.55
5.5.300.0100.02514.43
5.5.290.0080.04214.46
5.5.280.0060.02315.88
5.5.270.0050.02315.92
5.5.260.0030.03815.83
5.5.250.0100.03515.83
5.5.240.0150.04015.57
5.5.230.0030.00610.90
5.5.220.0060.00010.90
5.5.210.0000.00710.90
5.5.200.0030.00910.90
5.5.190.0080.00310.90
5.5.180.0000.01110.90
5.5.170.0030.00610.94
5.5.160.0000.00710.90
5.5.150.0030.00610.90
5.5.140.0000.01010.90
5.5.130.0000.01110.90
5.5.120.0030.00610.90
5.5.110.0040.00910.90
5.5.100.0000.00710.99
5.5.90.0000.01010.90
5.5.80.0040.00410.90
5.5.70.0070.00310.90
5.5.60.0050.00510.90
5.5.50.0060.00610.90
5.5.40.0090.00010.90
5.5.30.0030.01010.90
5.5.20.0000.00610.90
5.5.10.0000.00610.90
5.5.00.0040.00410.90
5.4.450.0170.02215.09
5.4.440.0200.03215.27
5.4.430.0130.02315.22
5.4.420.0110.02615.20
5.4.410.0120.03714.80
5.4.400.0080.03014.83
5.4.390.0080.03014.83
5.4.380.0080.04014.76
5.4.370.0080.02714.75
5.4.360.0070.02914.75
5.4.350.0050.02412.32
5.4.340.0120.02012.36
5.4.330.0060.00610.90
5.4.320.0150.02212.54
5.4.310.0020.03412.52
5.4.300.0100.02612.53
5.4.290.0070.02812.59
5.4.280.0130.02312.49
5.4.270.0070.02912.48
5.4.260.0050.03412.48
5.4.250.0130.02712.46
5.4.240.0120.02612.46
5.4.230.0090.02912.54
5.4.220.0050.02412.45
5.4.210.0050.02512.48
5.4.200.0160.02212.50
5.4.190.0050.03112.47
5.4.180.0110.02712.49
5.4.170.0100.02312.48
5.4.160.0120.01812.46
5.4.150.0050.02612.48
5.4.140.0120.02412.33
5.4.130.0090.02312.38
5.4.120.0030.02712.27
5.4.110.0090.02512.27
5.4.100.0120.01712.30
5.4.90.0120.02512.30
5.4.80.0080.03012.27
5.4.70.0070.02512.27
5.4.60.0130.01612.29
5.4.50.0030.02312.30
5.4.40.0090.01912.26
5.4.30.0130.01812.29
5.4.20.0100.01812.35
5.4.10.0110.01712.27
5.4.00.0080.02312.03
5.3.290.0100.02212.74
5.3.280.0150.02212.71
5.3.270.0060.02512.71
5.3.260.0090.02412.71
5.3.250.0090.02212.71
5.3.240.0140.02712.76
5.3.230.0150.02212.67
5.3.220.0210.02212.66
5.3.210.0100.02512.66
5.3.200.0080.02312.75
5.3.190.0050.02712.69
5.3.180.0050.02312.73
5.3.170.0100.03012.67
5.3.160.0110.02312.66
5.3.150.0040.02812.65
5.3.140.0030.02412.73
5.3.130.0090.02612.67
5.3.120.0080.02612.67
5.3.110.0080.03212.72
5.3.100.0120.02112.48
5.3.90.0100.02112.39
5.3.80.0100.02712.43
5.3.70.0100.02712.39
5.3.60.0090.02512.38
5.3.50.0100.02012.41
5.3.40.0060.02512.38
5.3.30.0070.02212.35
5.3.20.0030.02912.22
5.3.10.0090.02312.28
5.3.00.0060.02212.27
5.2.170.0030.02611.07
5.2.160.0090.01411.01
5.2.150.0100.02010.95
5.2.140.0080.02311.05
5.2.130.0070.01710.94
5.2.120.0110.01311.03
5.2.110.0080.01611.00
5.2.100.0030.02110.92
5.2.90.0080.01510.96
5.2.80.0100.01310.93
5.2.70.0070.01710.94
5.2.60.0050.02010.97
5.2.50.0030.02611.00
5.2.40.0080.02410.91
5.2.30.0170.01810.90
5.2.20.0070.02010.93
5.2.10.0100.01810.83
5.2.00.0070.01910.80
5.1.60.0020.01910.45
5.1.50.0050.01510.42
5.1.40.0080.01410.39
5.1.30.0120.01810.60
5.1.20.0050.02310.63
5.1.10.0080.01710.52
5.1.00.0070.01810.49
5.0.50.0050.0159.75
5.0.40.0050.0179.71
5.0.30.0020.0259.55
5.0.20.0040.0169.53
5.0.10.0080.0129.56
5.0.00.0080.0209.50
4.4.90.0050.0098.38
4.4.80.0020.0128.37
4.4.70.0020.0118.37
4.4.60.0080.0068.37
4.4.50.0050.0078.36
4.4.40.0030.0188.36
4.4.30.0020.0118.36
4.4.20.0030.0138.38
4.4.10.0050.0128.39
4.4.00.0050.0188.38
4.3.110.0040.0108.34
4.3.100.0020.0118.32
4.3.90.0000.0128.31
4.3.80.0030.0168.32
4.3.70.0000.0118.33
4.3.60.0020.0118.30
4.3.50.0030.0108.31
4.3.40.0020.0148.32
4.3.30.0050.0067.72
4.3.20.0000.0117.71
4.3.10.0050.0087.66
4.3.00.0020.01113.60