3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if(filter_var('123s', FILTER_VALIDATE_INT)) echo 'yes!';
based on USjCV

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.0140.00498.97
7.3.0rc30.0200.00316.58
7.2.00.0030.01018.57
7.1.100.0040.00417.77
7.1.70.0060.00317.08
7.1.60.0140.01119.32
7.1.50.0170.00716.80
7.1.00.0000.08022.43
7.0.200.0000.00816.43
7.0.140.0030.07021.92
7.0.60.0130.07719.96
7.0.50.0030.08717.79
7.0.40.0070.07020.12
7.0.30.0330.06020.01
7.0.20.0270.07720.01
7.0.10.0130.08320.12
7.0.00.0070.04720.19
5.6.280.0030.07320.98
5.6.210.0030.04720.68
5.6.200.0030.04018.13
5.6.190.0030.08320.43
5.6.180.0270.07320.45
5.6.170.0200.05320.49
5.6.160.0100.05020.50
5.6.150.0070.05018.16
5.6.140.0170.07018.14
5.6.130.0200.06718.19
5.6.120.0170.07320.88
5.6.110.0230.06320.98
5.6.100.0030.04320.97
5.6.90.0000.06721.02
5.6.80.0030.07720.40
5.5.350.0170.07320.41
5.5.340.0170.06717.92
5.5.330.0000.04720.36
5.5.320.0200.04020.27
5.5.310.0130.05020.24
5.5.300.0000.07717.97
5.5.290.0130.08017.87
5.5.280.0070.05720.64
5.5.270.0030.04720.93
5.5.260.0130.07320.63
5.5.250.0030.06720.69
5.5.240.0200.07320.26
5.4.450.0300.06019.60
5.4.440.0100.06319.45
5.4.430.0370.04719.54
5.4.420.0670.00019.44
5.4.410.0630.00019.18
5.4.400.0630.00019.03
5.4.390.0700.00019.18
5.4.380.0830.00019.05
5.4.370.0670.00019.06
5.4.360.0600.00019.18
5.4.350.0630.00019.15
5.4.340.0050.03611.97
5.4.320.0070.04712.45
5.4.310.0100.03512.45
5.4.300.0120.03312.45
5.4.290.0120.03412.45
5.4.280.0060.04012.35
5.4.270.0070.03912.35
5.4.260.0090.03812.35
5.4.250.0090.04012.34
5.4.240.0060.03912.35
5.4.230.0090.03712.34
5.4.220.0100.03612.34
5.4.210.0030.04312.34
5.4.200.0060.04212.34
5.4.190.0040.04212.34
5.4.180.0080.04112.33
5.4.170.0040.04212.35
5.4.160.0090.04112.34
5.4.150.0110.03512.34
5.4.140.0070.03912.02
5.4.130.0110.03512.01
5.4.120.0080.04111.96
5.4.110.0090.03611.96
5.4.100.0030.03911.97
5.4.90.0100.03511.96
5.4.80.0090.03911.97
5.4.70.0080.03311.96
5.4.60.0070.03311.96
5.4.50.0080.04111.96
5.4.40.0060.03511.95
5.4.30.0100.03211.95
5.4.20.0100.03311.95
5.4.10.0080.04911.94
5.4.00.0100.05611.44
5.3.290.0130.06112.80
5.3.280.0130.05212.71
5.3.270.0060.06512.72
5.3.260.0080.05712.72
5.3.250.0090.04712.71
5.3.240.0060.03912.72
5.3.230.0070.04712.71
5.3.220.0090.04912.68
5.3.210.0060.08212.68
5.3.200.0150.06812.68
5.3.190.0090.04912.68
5.3.180.0110.03512.67
5.3.170.0090.03712.67
5.3.160.0100.05712.67
5.3.150.0080.03712.67
5.3.140.0060.04612.66
5.3.130.0050.05312.65
5.3.120.0110.03612.66
5.3.110.0070.04212.66
5.3.100.0060.03812.11
5.3.90.0080.03512.08
5.3.80.0080.03512.07
5.3.70.0120.03112.08
5.3.60.0070.03512.06
5.3.50.0040.03812.00
5.3.40.0070.03612.00
5.3.30.0070.04011.94
5.3.20.0050.03911.71
5.3.10.0050.03911.68
5.3.00.0090.05311.68
5.2.170.0080.0279.18
5.2.160.0030.0329.18
5.2.150.0060.0329.18
5.2.140.0060.0339.17
5.2.130.0050.0339.13
5.2.120.0060.0349.13
5.2.110.0040.0339.14
5.2.100.0070.0309.13
5.2.90.0130.0489.14
5.2.80.0090.0319.13
5.2.70.0060.0309.13
5.2.60.0070.0339.09
5.2.50.0090.0309.05
5.2.40.0050.0329.03
5.2.30.0050.0359.00
5.2.20.0100.0279.00
5.2.10.0080.0288.92
5.2.00.0080.0428.77
5.1.60.0080.0328.07
5.1.50.0050.0358.06
5.1.40.0050.0278.04
5.1.30.0060.0278.39
5.1.20.0050.0298.41
5.1.10.0080.0288.14
5.1.00.0060.0318.14
5.0.50.0060.0196.62
5.0.40.0050.0186.47
5.0.30.0030.0386.29
5.0.20.0060.0316.26
5.0.10.0080.0296.24
5.0.00.0060.0406.23
4.4.90.0000.0194.78
4.4.80.0040.0154.75
4.4.70.0030.0164.75
4.4.60.0100.0194.76
4.4.50.0020.0184.77
4.4.40.0030.0354.71
4.4.30.0030.0204.75
4.4.20.0020.0184.84
4.4.10.0020.0194.85
4.4.00.0020.0264.76
4.3.110.0020.0174.67
4.3.100.0030.0154.66
4.3.90.0010.0164.63
4.3.80.0030.0354.58
4.3.70.0050.0134.63
4.3.60.0040.0144.63
4.3.50.0020.0174.63
4.3.40.0040.0234.54
4.3.30.0030.0153.28
4.3.20.0010.0173.26
4.3.10.0030.0163.21
4.3.00.0000.0237.14