3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $true = true; $false = false; var_dump(isset($true)) . PHP_EOL; var_dump(isset($thing)) . PHP_EOL; var_dump(isset($false)) . PHP_EOL;
based on Rmqg2

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.10.0130.01016.41
7.3.00.0120.00616.49
7.2.130.0180.00416.72
7.2.120.0120.00816.18
7.2.110.0040.01116.73
7.2.100.0140.00016.59
7.2.90.0110.00716.34
7.2.80.0090.00916.30
7.2.70.0150.00616.38
7.2.60.0110.00716.43
7.2.50.0100.01016.68
7.2.40.0060.01016.75
7.2.30.0130.00316.77
7.2.20.0080.00816.46
7.2.10.0140.00416.53
7.2.00.0100.00617.94
7.1.250.0030.01415.46
7.1.200.0070.00715.65
7.1.100.0050.00517.79
7.1.70.0040.00416.97
7.1.60.0130.00319.46
7.1.50.0140.01016.95
7.1.00.0100.07022.43
7.0.200.0030.00516.64
7.0.140.0070.04022.12
7.0.60.0270.07719.94
7.0.50.0030.04017.91
7.0.40.0130.08720.25
7.0.30.0400.06020.13
7.0.20.0200.05020.16
7.0.10.0070.05720.16
7.0.00.0100.05320.09
5.6.280.0070.07020.90
5.6.210.0130.06320.70
5.6.200.0130.03318.16
5.6.190.0070.08320.43
5.6.180.0270.04720.67
5.6.170.0300.08020.40
5.6.160.0100.06320.33
5.6.150.0030.07718.12
5.6.140.0100.07318.12
5.6.130.0100.08018.22
5.6.120.0170.07320.98
5.6.110.0030.07021.11
5.6.100.0230.07321.13
5.6.90.0000.04320.99
5.6.80.0100.06320.39
5.5.350.3930.04020.35
5.5.340.0000.04017.97
5.5.330.0070.04720.40
5.5.320.0230.03720.32
5.5.310.0270.05720.41
5.5.300.0030.04017.94
5.5.290.0100.06317.90
5.5.280.0100.03720.87
5.5.270.0070.04020.77
5.5.260.0030.06320.76
5.5.250.0070.08020.68
5.5.240.0200.07020.21
5.4.450.3530.04319.47
5.4.440.0130.07319.22
5.4.430.1530.07319.41
5.4.420.4170.03719.32
5.4.410.4630.03319.36
5.4.400.3930.03718.97
5.4.390.4370.04019.04
5.4.380.4430.04019.09
5.4.370.3970.03019.14
5.4.360.1470.03718.88
5.4.350.4170.03718.87
5.4.340.4400.03318.87
5.4.320.3930.03719.24
5.4.310.3770.03318.96
5.4.300.4200.03318.88
5.4.290.3830.04018.88
5.4.280.3770.03719.14
5.4.270.3470.03719.14
5.4.260.0000.08018.89
5.4.250.2270.03319.08
5.4.240.4600.03018.96
5.4.230.4170.03318.88
5.4.220.4630.03319.03
5.4.210.4600.03719.02
5.4.200.3830.03719.17
5.4.190.4470.04318.97
5.4.180.4230.03319.16
5.4.170.4530.03719.05
5.4.160.4530.04019.10
5.4.150.4470.04019.06
5.4.140.4000.03316.39
5.4.130.4230.03316.44
5.4.120.4770.03016.43
5.4.110.3670.03316.46
5.4.100.3670.03016.16
5.4.90.3630.02716.46
5.4.80.2930.03716.35
5.4.70.3700.03016.14
5.4.60.3700.04016.55
5.4.50.3370.02716.36
5.4.40.3600.03316.29
5.4.30.3570.03316.10
5.4.20.4330.04016.29
5.4.10.4100.03316.35
5.4.00.3800.03715.66
5.3.290.3670.03714.68
5.3.280.4230.03014.55
5.3.270.4270.02714.48
5.3.260.4330.04314.54
5.3.250.4570.03314.58
5.3.240.4500.03314.48
5.3.230.4470.03714.52
5.3.220.4470.04014.50
5.3.210.4670.04014.48
5.3.200.4130.03014.48
5.3.190.3570.04014.48
5.3.180.4470.03314.57
5.3.170.3270.03714.34
5.3.160.3630.03714.45
5.3.150.3630.03014.51
5.3.140.4200.03314.48
5.3.130.3800.03714.56
5.3.120.3770.04314.50
5.3.110.4130.04314.63
5.3.100.3530.03314.13
5.3.90.3600.04313.95
5.3.80.3970.04313.93
5.3.70.3970.03713.93
5.3.60.4030.03313.79
5.3.50.4870.04313.77
5.3.40.4730.03713.87
5.3.30.4730.02713.82
5.3.20.4600.03013.51
5.3.10.4130.04013.60
5.3.00.3570.03713.57
5.2.170.3970.02311.03
5.2.160.3930.02711.05
5.2.150.3930.02711.15
5.2.140.3530.02711.07
5.2.130.3930.02711.00
5.2.120.3830.02711.01
5.2.110.3430.03011.02
5.2.100.3370.02311.12
5.2.90.3270.03711.04
5.2.80.3300.03011.18
5.2.70.3170.02710.99
5.2.60.3170.02310.98
5.2.50.3600.02011.02
5.2.40.3070.02311.14
5.2.30.3200.03310.85
5.2.20.3000.03310.90
5.2.10.2870.03010.93
5.2.00.3100.03010.71
5.1.60.2800.0239.89
5.1.50.2870.0239.83
5.1.40.3400.0239.97
5.1.30.3130.02710.32
5.1.20.2870.02010.50
5.1.10.3230.02710.08
5.1.00.3230.0239.91
5.0.50.1600.0208.39
5.0.40.1670.0178.41
5.0.30.1600.0308.12
5.0.20.1730.0208.24
5.0.10.1430.0208.07
5.0.00.1470.0308.29
4.4.90.1170.0236.59
4.4.80.1730.0206.59
4.4.70.1770.0176.59
4.4.60.1830.0176.59
4.4.50.1800.0176.59
4.4.40.1700.0236.59
4.4.30.1770.0136.59
4.4.20.1470.0136.59
4.4.10.1570.0206.59
4.4.00.1670.0206.59
4.3.110.1800.0176.59
4.3.100.1500.0206.59
4.3.90.1430.0136.59
4.3.80.1430.0236.59
4.3.70.1730.0176.59
4.3.60.1830.0136.59
4.3.50.1500.0106.59
4.3.40.1470.0236.59
4.3.30.0900.0176.59
4.3.20.1000.0236.59
4.3.10.0930.0206.59
4.3.00.0830.0136.59