3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'aaaaaa'; var_dump( isset($str['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.0rc40.0270.00698.97
7.3.0rc30.0380.00316.54
7.3.0beta10.0070.00312.55
7.3.0alpha10.0060.00312.48
7.2.60.0060.00616.65
7.1.200.0040.00415.50
7.1.70.0040.00416.89
7.1.60.0040.02119.82
7.1.50.0210.01434.76
7.1.00.0030.07722.54
7.0.200.0040.00416.71
7.0.140.0130.06321.95
7.0.60.0030.07020.02
7.0.50.0030.07317.90
7.0.40.0070.04020.27
7.0.30.0400.07320.21
7.0.20.0230.04020.09
7.0.10.0030.08720.16
7.0.00.0100.08320.09
5.6.280.0070.07321.12
5.6.210.0130.07320.46
5.6.200.0000.04318.09
5.6.190.0070.04020.56
5.6.180.0370.07320.56
5.6.170.0330.07020.51
5.6.160.0100.05020.52
5.6.150.0100.05318.22
5.6.140.0030.04718.18
5.6.130.0100.07718.12
5.6.120.0000.05021.03
5.6.110.0100.08320.99
5.6.100.0030.04321.03
5.6.90.0230.05021.09
5.6.80.0070.08020.40
5.5.350.0030.04020.37
5.5.340.0030.08717.92
5.5.330.0100.04720.48
5.5.320.0000.06020.27
5.5.310.0300.07020.12
5.5.300.0030.08317.95
5.5.290.0100.05018.00
5.5.280.0200.07020.64
5.5.270.0070.04320.75
5.5.260.0030.09020.64
5.5.250.0070.08320.61
5.5.240.0330.06720.16
5.4.450.2200.04319.21
5.4.440.1870.04019.10
5.4.430.2300.04719.42
5.4.420.2030.03319.48
5.4.410.2200.04319.13
5.4.400.1000.05019.25
5.4.390.0070.04319.05
5.4.380.0070.03319.09
5.4.370.1600.05318.78
5.4.360.2170.04019.08
5.4.350.2270.04318.89
5.4.340.2170.04019.25
5.4.320.2170.04019.06
5.4.310.2030.04019.13
5.4.300.1930.04319.24
5.4.290.0530.03718.79
5.4.280.0000.04018.93
5.4.270.0000.04019.08
5.4.260.0570.03018.77
5.4.250.0470.04019.09
5.4.240.0070.04319.23
5.4.230.0230.07718.88
5.4.220.1130.03319.08
5.4.210.0070.03719.20
5.4.200.0100.06319.13
5.4.190.1400.03018.88
5.4.180.2070.04319.12
5.4.170.2230.04719.09
5.4.160.2130.04319.11
5.4.150.2000.05019.19
5.4.140.1970.03316.37
5.4.130.2430.04016.43
5.4.120.1830.04316.22
5.4.110.2030.03716.43
5.4.100.2030.03316.47
5.4.90.0400.03016.48
5.4.80.0030.03316.34
5.4.70.0700.03716.37
5.4.60.2030.03716.19
5.4.50.1930.03716.44
5.4.40.1970.03316.36
5.4.30.1930.03716.39
5.4.20.1930.03316.20
5.4.10.1970.03316.38
5.4.00.2000.03015.82
5.3.290.1930.03714.50
5.3.280.1970.03314.46
5.3.270.2000.03714.47
5.3.260.1030.03714.45
5.3.250.0000.04014.62
5.3.240.0070.03314.44
5.3.230.1470.03714.45
5.3.220.1870.04014.52
5.3.210.1970.03714.61
5.3.200.2300.04714.55
5.3.190.2100.03714.39
5.3.180.2100.03314.39
5.3.170.2130.04014.57
5.3.160.2100.04314.39
5.3.150.1800.03714.51
5.3.140.2030.03314.43
5.3.130.2100.04014.45
5.3.120.1830.04014.40
5.3.110.2100.04714.49
5.3.100.1770.04313.89
5.3.90.1900.03313.89
5.3.80.2000.04013.79
5.3.70.2030.04314.06
5.3.60.1800.04013.83
5.3.50.2130.04013.79
5.3.40.2230.05013.79
5.3.30.1900.03313.81
5.3.20.1030.03013.54
5.3.10.0070.03013.75
5.3.00.0070.07013.54
5.2.170.1500.03311.05
5.2.160.1500.02710.99
5.2.150.1800.03311.19
5.2.140.1800.03711.20
5.2.130.1730.03310.93
5.2.120.1830.03311.18
5.2.110.1730.03011.10
5.2.100.1930.03011.14
5.2.90.1670.03310.94
5.2.80.1530.03011.19
5.2.70.1700.03311.14
5.2.60.1870.03310.95
5.2.50.1830.03011.06
5.2.40.1400.03011.00
5.2.30.1530.03010.76
5.2.20.1530.03310.80
5.2.10.1400.03310.76
5.2.00.1400.02310.63
5.1.60.1370.0209.89
5.1.50.1300.0239.96
5.1.40.1300.0239.95
5.1.30.1330.02010.27
5.1.20.1330.02310.41
5.1.10.1300.02310.03
5.1.00.1370.0209.93
5.0.50.0400.0179.89
5.0.40.0000.0209.89
5.0.30.0000.0309.89
5.0.20.0070.0139.89
5.0.10.0000.0239.89
5.0.00.0000.0309.89
4.4.90.0030.0209.89
4.4.80.0000.0139.89
4.4.70.0200.0209.89
4.4.60.0270.0139.89
4.4.50.0530.0179.89
4.4.40.0600.0239.89
4.4.30.0370.0139.89
4.4.20.0700.0109.89
4.4.10.0630.0179.89
4.4.00.0500.0239.89
4.3.110.0530.0139.89
4.3.100.0600.0109.89
4.3.90.0800.0179.89
4.3.80.0500.0239.89
4.3.70.0500.0139.89
4.3.60.0630.0179.89
4.3.50.0800.0179.89
4.3.40.0670.0239.89
4.3.30.0370.0179.89
4.3.20.0370.0139.89
4.3.10.0170.0179.89
4.3.00.0300.0179.89