3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('7.1'); var_dump(in_array('7.10', $a));

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.0rc30.0100.00516.70
7.3.0beta20.0090.00310.65
7.3.0beta10.0060.00611.57
7.3.0alpha40.0110.00010.65
7.3.0alpha30.0430.00310.65
7.3.0alpha20.0060.00610.65
7.3.0alpha10.0050.00511.79
7.2.90.0240.00414.43
7.2.80.0050.01014.78
7.2.70.0000.01514.77
7.2.60.1130.00315.79
7.2.50.0340.00014.54
7.2.40.0190.00314.99
7.2.30.0470.00714.67
7.2.20.0160.00014.66
7.2.10.0060.01314.70
7.2.00.0280.01016.86
7.1.210.0090.00913.75
7.1.200.0100.00514.52
7.1.190.0150.00013.83
7.1.180.0140.00413.41
7.1.170.2620.00313.81
7.1.160.0000.01513.79
7.1.150.0150.00613.83
7.1.140.0140.00313.68
7.1.130.0030.01313.82
7.1.120.1020.00313.68
7.1.110.0090.01015.93
7.1.100.0120.00716.63
7.1.90.0050.01115.79
7.1.80.0060.00715.93
7.1.70.0060.00815.88
7.1.60.0240.00933.82
7.1.50.0710.01033.82
7.1.40.0440.01133.42
7.1.30.0410.01133.46
7.1.20.0530.01233.57
7.1.10.0480.01015.02
7.1.00.0650.00715.08
7.0.310.0090.00313.18
7.0.300.1340.00913.17
7.0.290.0110.00713.11
7.0.280.0810.00713.60
7.0.270.0960.01213.34
7.0.260.0560.00912.96
7.0.250.1060.01215.67
7.0.240.0070.00915.54
7.0.230.0080.00815.56
7.0.220.0050.01015.59
7.0.210.0790.00714.96
7.0.200.0100.00615.62
7.0.190.0470.00615.45
7.0.180.0310.00915.25
7.0.170.0270.00815.15
7.0.160.0280.01015.18
7.0.150.0610.00814.53
7.0.140.0460.00514.71
7.0.130.0350.00814.80
7.0.120.0470.00414.88
7.0.110.0720.00914.55
7.0.100.0320.00914.62
7.0.90.0570.00814.52
7.0.80.0280.01014.52
7.0.70.0490.01014.76
7.0.60.0420.00814.34
7.0.50.0730.00414.66
7.0.40.0960.00914.77
7.0.30.0490.00614.69
7.0.20.0350.00414.69
7.0.10.0480.01014.74
7.0.00.0460.00714.75
hhvm-3.22.00.0920.14190.82
hhvm-3.21.30.0700.15790.40
hhvm-3.21.00.1050.18290.59
hhvm-3.20.20.0980.18390.88
hhvm-3.19.20.1020.15290.53
hhvm-3.18.50.0710.15489.24
hhvm-3.18.40.0900.17088.96
hhvm-3.17.30.0910.18887.63
hhvm-3.15.40.0710.15685.48
hhvm-3.13.20.0930.17996.95
hhvm-3.12.140.1060.19295.94
hhvm-3.11.10.1020.18687.94
hhvm-3.10.10.0970.16684.93
5.6.300.0110.04318.53
5.6.290.0160.03818.47
5.6.280.0140.03918.64
5.6.270.0150.03818.59
5.6.260.0090.04318.69
5.6.250.0180.04418.60
5.6.240.0180.04018.63
5.6.230.0090.05218.61
5.6.220.0150.03918.55
5.6.210.0140.03718.57
5.6.200.0120.04018.56
5.6.190.0180.04718.64
5.6.180.0210.04018.61
5.6.170.0130.04118.63
5.6.160.0120.04518.64
5.6.150.0120.05218.49
5.6.140.0110.04318.54
5.6.130.0110.04218.64
5.6.120.0140.04118.53
5.6.110.0110.04518.64
5.6.100.0080.05118.54
5.6.90.0100.04718.57
5.6.80.0130.04018.11
5.6.70.0150.03318.25
5.6.60.0100.04818.21
5.6.50.0130.03718.02
5.6.40.0110.03918.15
5.6.30.0150.03718.19
5.6.20.0120.03918.27
5.6.10.0110.03818.18
5.6.00.0130.03818.21
5.5.380.0140.03415.30
5.5.370.0110.03615.31
5.5.360.0110.03915.28
5.5.350.0130.03915.35
5.5.340.0090.04415.58
5.5.330.0060.05315.57
5.5.320.0100.04215.73
5.5.310.0120.04315.58
5.5.300.0130.03815.49
5.5.290.0090.04215.52
5.5.280.0150.03615.52
5.5.270.0070.04215.55
5.5.260.0100.04415.70
5.5.250.0150.03415.42
5.5.240.0110.03715.12
5.5.230.0100.03715.05
5.5.220.0120.03815.24
5.5.210.0120.03515.20
5.5.200.0120.03715.14
5.5.190.0070.04115.11
5.5.180.0110.03715.19
5.5.170.0060.01014.31
5.5.160.0070.03915.15
5.5.150.0070.04515.01
5.5.140.0120.03215.06
5.5.130.0080.03815.08
5.5.120.0070.03815.21
5.5.110.0090.03615.14
5.5.100.0070.04115.00
5.5.90.0070.03915.02
5.5.80.0090.03615.03
5.5.70.0090.04014.97
5.5.60.0080.03615.14
5.5.50.0130.04014.98
5.5.40.0180.03115.04
5.5.30.0120.03415.06
5.5.20.0110.03815.06
5.5.10.0060.03915.08
5.5.00.0110.04115.01
5.4.450.0120.04616.58
5.4.440.0050.04716.53
5.4.430.0160.03516.38
5.4.420.0100.04316.55
5.4.410.0120.03716.47
5.4.400.0140.03416.23
5.4.390.0070.04316.17
5.4.380.0140.04116.30
5.4.370.0130.03216.13
5.4.360.0130.04016.29
5.4.350.0130.03316.25
5.4.340.0130.03416.30
5.4.330.0000.01310.83
5.4.320.0120.03916.19
5.4.310.0100.04216.26
5.4.300.0100.03816.32
5.4.290.0140.04016.23
5.4.280.0110.03816.26
5.4.270.0090.03816.26
5.4.260.0110.03516.29
5.4.250.0110.03416.16
5.4.240.0070.03916.29
5.4.230.0090.03916.20
5.4.220.0130.03416.34
5.4.210.0100.03616.29
5.4.200.0100.03516.24
5.4.190.0110.03516.24
5.4.180.0090.03616.27
5.4.170.0100.04116.14
5.4.160.0110.03916.25
5.4.150.0070.04916.25
5.4.140.0100.03614.54
5.4.130.0090.03614.46
5.4.120.0090.04014.58
5.4.110.0100.03814.55
5.4.100.0060.03914.63
5.4.90.0140.03414.57
5.4.80.0110.03114.54
5.4.70.0130.02914.54
5.4.60.0100.04114.55
5.4.50.0070.03614.64
5.4.40.0120.03214.54
5.4.30.0120.03114.66
5.4.20.0070.03814.64
5.4.10.0070.04614.63
5.4.00.0090.03414.14
5.3.290.0120.04013.38
5.3.280.0170.03813.28
5.3.270.0140.03613.33
5.3.260.0100.04013.38
5.3.250.0110.03413.32
5.3.240.0120.03213.33
5.3.230.0130.03813.34
5.3.220.0080.04013.31
5.3.210.0120.03413.31
5.3.200.0070.04313.20
5.3.190.0060.03913.28
5.3.180.0070.03513.36
5.3.170.0100.03313.30
5.3.160.0100.03713.31
5.3.150.0060.03713.30
5.3.140.0120.03213.24
5.3.130.0180.03513.29
5.3.120.0090.03813.24
5.3.110.0100.03713.28
5.3.100.0050.03812.88
5.3.90.0090.03312.93
5.3.80.0080.04213.01
5.3.70.0080.03612.97
5.3.60.0100.03612.90
5.3.50.0080.03512.93
5.3.40.0090.03412.86
5.3.30.0050.04512.94
5.3.20.0080.03612.67
5.3.10.0080.03412.63
5.3.00.0110.03512.63
5.2.170.0110.02411.01
5.2.160.0080.02711.01
5.2.150.0080.03211.07
5.2.140.0090.03411.02
5.2.130.0060.03310.94
5.2.120.0090.02611.00
5.2.110.0070.03211.07
5.2.100.0100.02911.03
5.2.90.0100.02310.93
5.2.80.0140.02110.93
5.2.70.0060.02910.97
5.2.60.0070.02911.02
5.2.50.0060.03010.98
5.2.40.0080.03010.87
5.2.30.0110.02810.86
5.2.20.0060.02910.90
5.2.10.0110.02610.86
5.2.00.0040.03010.77
5.1.60.0070.02310.29
5.1.50.0050.02510.23
5.1.40.0070.02310.26
5.1.30.0070.02810.50
5.1.20.0070.02510.53
5.1.10.0100.02610.33
5.1.00.0080.02510.23
5.0.50.0040.0219.25
5.0.40.0070.0169.21
5.0.30.0080.0269.16
5.0.20.0040.0229.04
5.0.10.0040.0219.08
5.0.00.0070.0309.14
4.4.90.0050.0157.60
4.4.80.0020.0177.61
4.4.70.0010.0217.62
4.4.60.0080.0147.63
4.4.50.0080.0127.63
4.4.40.0010.0277.66
4.4.30.0050.0157.67
4.4.20.0040.0157.68
4.4.10.0040.0147.69
4.4.00.0030.0247.70
4.3.110.0020.0177.71
4.3.100.0030.0167.71
4.3.90.0030.0157.73
4.3.80.0010.0287.74
4.3.70.0050.0167.75
4.3.60.0060.0167.76
4.3.50.0040.0167.76
4.3.40.0050.0207.76
4.3.30.0060.0157.76
4.3.20.0020.0177.77
4.3.10.0060.0137.77
4.3.00.0030.0157.77