3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $status = "15:00"; $time = "15:00"; if($status == $time) { echo 'true'; } else { echo 'false'; }

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.0330.01298.97
7.3.0rc30.0070.00416.59
7.2.00.0070.01119.50
7.1.70.0050.00317.00
7.1.60.0000.01117.01
7.1.50.0070.01116.89
7.1.00.0030.07322.32
7.0.200.0030.01316.84
7.0.140.0070.06722.11
7.0.60.0070.05020.00
7.0.50.0130.07717.86
7.0.40.0130.07319.95
7.0.30.0270.07720.13
7.0.20.0270.05320.33
7.0.10.0070.08720.02
7.0.00.0200.07320.24
5.6.280.0000.07721.14
5.6.210.0200.06020.61
5.6.200.0030.08318.13
5.6.190.0100.07720.39
5.6.180.0570.05020.56
5.6.170.0270.04020.38
5.6.160.0070.04020.49
5.6.150.0030.06318.14
5.6.140.0100.05318.18
5.6.130.0070.04718.20
5.6.120.0070.06321.09
5.6.110.0030.09721.08
5.6.100.0130.07720.97
5.6.90.0070.08321.11
5.6.80.0070.08020.50
5.5.350.0370.06320.29
5.5.340.0030.08717.91
5.5.330.0130.07020.43
5.5.320.0400.07720.34
5.5.310.0300.04320.20
5.5.300.0070.03717.98
5.5.290.0070.03717.98
5.5.280.0070.08020.87
5.5.270.0070.07320.63
5.5.260.0100.06720.83
5.5.250.0000.04720.77
5.5.240.0000.03320.25
5.4.450.3630.04319.38
5.4.440.4400.04019.20
5.4.430.3730.04319.48
5.4.420.4630.04719.07
5.4.410.3530.04018.99
5.4.400.3800.03319.08
5.4.390.4230.04019.13
5.4.380.3830.03318.93
5.4.370.4400.03719.09
5.4.360.4330.04019.09
5.4.350.4070.03719.13
5.4.340.4370.03319.13
5.4.320.4470.03719.16
5.4.310.4030.04319.21
5.4.300.4570.03719.13
5.4.290.3870.03319.13
5.4.280.3900.02719.25
5.4.270.0230.03319.15
5.4.260.0030.06319.08
5.4.250.4070.03319.07
5.4.240.3770.04019.11
5.4.230.3770.04019.21
5.4.220.3500.03019.13
5.4.210.3470.03319.16
5.4.200.4470.03719.07
5.4.190.4500.03719.12
5.4.180.3700.04019.04
5.4.170.0130.03319.12
5.4.160.0470.06319.07
5.4.150.4070.04019.11
5.4.140.4200.03716.35
5.4.130.4570.02716.33
5.4.120.3170.03716.30
5.4.110.3130.04016.40
5.4.100.3500.03716.44
5.4.90.3470.03316.43
5.4.80.3530.03016.40
5.4.70.3500.03016.29
5.4.60.3530.03016.20
5.4.50.3670.03316.17
5.4.40.3830.03316.18
5.4.30.3870.03316.46
5.4.20.3230.03716.20
5.4.10.4170.03316.18
5.4.00.4400.03315.60
5.3.290.4430.03714.75
5.3.280.4130.03014.68
5.3.270.2000.04014.47
5.3.260.3330.03714.46
5.3.250.4470.03714.55
5.3.240.4170.04014.52
5.3.230.3330.03714.54
5.3.220.3500.03314.59
5.3.210.2970.03314.65
5.3.200.3370.04014.49
5.3.190.3530.03314.65
5.3.180.3470.04014.59
5.3.170.3130.03714.42
5.3.160.3430.03314.65
5.3.150.3370.03714.59
5.3.140.4270.04014.50
5.3.130.3830.03314.45
5.3.120.4100.04014.39
5.3.110.4430.03714.40
5.3.100.4370.04014.06
5.3.90.4330.03714.00
5.3.80.4030.03013.97
5.3.70.4130.03713.92
5.3.60.4370.03313.84
5.3.50.4370.03713.74
5.3.40.4430.03713.88
5.3.30.4430.04013.93
5.3.20.4300.03713.50
5.3.10.3970.03313.43
5.3.00.3430.04013.51
5.2.170.3670.03011.18
5.2.160.3500.02011.17
5.2.150.3670.02711.17
5.2.140.3730.03011.17
5.2.130.3500.02711.17
5.2.120.3100.03011.17
5.2.110.2730.03011.17
5.2.100.3130.03011.17
5.2.90.3730.02011.17
5.2.80.3330.03011.17
5.2.70.3170.03011.17
5.2.60.3670.02711.17
5.2.50.3130.03011.17
5.2.40.3030.03011.17
5.2.30.2700.02711.17
5.2.20.2700.03311.17
5.2.10.3100.02711.17
5.2.00.2900.02311.17
5.1.60.2700.02311.17
5.1.50.2570.03011.17
5.1.40.2730.02011.17
5.1.30.3230.02311.17
5.1.20.3000.02311.17
5.1.10.2470.02711.17
5.1.00.2900.02011.17
5.0.50.1570.02011.17
5.0.40.1430.02311.17
5.0.30.1300.03011.17
5.0.20.1370.02311.17
5.0.10.1430.02011.17
5.0.00.1230.03311.17
4.4.90.1570.01711.17
4.4.80.1370.01311.17
4.4.70.1370.01311.17
4.4.60.1670.01711.17
4.4.50.1730.01711.17
4.4.40.1270.02711.17
4.4.30.1600.01311.17
4.4.20.1400.01711.17
4.4.10.1370.01711.17
4.4.00.1300.02711.17
4.3.110.1330.01711.17
4.3.100.1370.01711.17
4.3.90.1370.01711.17
4.3.80.1370.02311.17
4.3.70.1400.01711.17
4.3.60.1400.01711.17
4.3.50.1370.02011.17
4.3.40.1170.02011.17
4.3.30.0830.01711.17
4.3.20.0870.01711.17
4.3.10.0800.02011.17
4.3.00.0830.01711.17