3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $now = date_create(); usleep(1); var_dump($now == date_create());

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.2.120.0340.00714.74
7.2.110.0450.01314.64
7.2.100.1330.00915.41
7.2.90.1100.00715.39
7.2.80.1160.00615.29
7.2.70.0300.01215.86
7.2.60.0190.00915.95
7.2.50.0270.01016.00
7.2.40.0770.00715.99
7.2.30.0270.00816.06
7.2.20.0250.01015.94
7.2.10.0240.00815.97
7.2.00.0190.00916.00
7.1.240.0360.01614.04
7.1.230.0270.01013.79
7.1.220.1110.01114.63
7.1.210.0970.00814.65
7.1.200.0870.00814.88
7.1.190.1160.00614.40
7.1.180.0180.01115.16
7.1.170.0180.01014.88
7.1.160.0240.00814.73
7.1.150.0780.00714.83
7.1.140.0200.01114.83
7.1.130.0210.00714.86
7.1.120.0200.00814.85
7.1.110.0190.00614.86
7.1.100.0170.00914.90
7.1.90.0140.00514.81
7.1.80.0180.00814.75
7.1.70.0220.00514.89
7.1.60.0310.01028.27
7.1.50.0490.01028.18
7.1.40.0400.01328.47
7.1.30.0320.01028.24
7.1.20.0260.01128.35
7.1.10.0320.00614.80
7.1.00.0280.00815.01
7.0.320.0290.00613.65
7.0.310.2110.00814.18
7.0.300.0680.00414.42
7.0.290.0660.00614.55
7.0.280.0870.00814.88
7.0.270.0250.00814.35
7.0.260.0250.01014.36
7.0.250.0160.01114.48
7.0.240.0320.00614.68
7.0.230.0140.00614.52
7.0.220.0260.00714.62
7.0.210.0180.00514.62
7.0.200.0220.00614.34
7.0.190.0260.00714.47
7.0.180.0240.00814.54
7.0.170.0360.00714.60
7.0.160.0410.00514.52
7.0.150.0280.00814.60
7.0.140.0330.00914.52
7.0.130.0340.00714.52
7.0.120.0300.00614.61
7.0.110.0410.00714.42
7.0.100.0280.00514.43
7.0.90.0300.00714.45
7.0.80.0400.00914.36
7.0.70.0530.00714.48
7.0.60.0230.00914.41
7.0.50.0400.00414.01
7.0.40.0780.00714.60
7.0.30.0400.00414.49
7.0.20.0330.01114.56
7.0.10.0200.00614.67
7.0.00.0520.00613.95
hhvm-3.22.00.1330.18890.29
hhvm-3.21.30.0920.18989.88
hhvm-3.21.00.1090.18989.70
hhvm-3.20.20.1230.17389.74
hhvm-3.19.20.1190.19489.03
hhvm-3.18.50.1020.18788.27
hhvm-3.18.40.1070.19588.00
hhvm-3.17.30.1060.20187.10
hhvm-3.15.40.1060.17684.97
hhvm-3.13.20.1170.19896.43
hhvm-3.12.140.1290.18594.94
hhvm-3.11.10.1270.18087.46
hhvm-3.10.10.1150.18984.31
5.6.380.0060.00814.36
5.6.370.0030.01414.42
5.6.360.0190.00514.38
5.6.350.0160.00714.34
5.6.340.0160.00714.43
5.6.330.0080.01214.27
5.6.320.0090.01214.53
5.6.310.0090.00914.37
5.6.300.0140.00514.26
5.6.290.0080.01114.38
5.6.280.0120.00814.37
5.6.270.0140.00814.34
5.6.260.0130.00814.38
5.6.250.0100.01114.36
5.6.240.0160.00414.30
5.6.230.0090.01114.28
5.6.220.0120.00814.33
5.6.210.0150.00814.31
5.6.200.0140.00514.23
5.6.190.0100.01114.36
5.6.180.0100.01114.33
5.6.170.0140.00814.30
5.6.160.0130.00914.13
5.6.150.0100.01214.34
5.6.140.0160.00514.22
5.6.130.0090.01114.35
5.6.120.0160.00514.13
5.6.110.0110.01014.31
5.6.100.0120.00814.26
5.6.90.0130.00814.30
5.6.80.0160.00614.27
5.6.70.0120.00814.25
5.6.60.0120.00714.09
5.6.50.0120.00814.15
5.6.40.0120.00614.10
5.6.30.0110.01014.21
5.6.20.0120.00614.22
5.6.10.0110.00814.22
5.6.00.0140.00714.25
5.5.380.0080.00811.08
5.5.370.0100.00611.07
5.5.360.0120.00511.12
5.5.350.0110.00411.04
5.5.340.0090.00611.16
5.5.330.0080.00811.17
5.5.320.0100.00411.13
5.5.310.0100.00511.06
5.5.300.0100.00711.02
5.5.290.0090.00811.01
5.5.280.0100.00611.16
5.5.270.0080.00710.94
5.5.260.0080.00711.07
5.5.250.0110.00511.01
5.5.240.0120.00410.97
5.5.230.0120.00410.92
5.5.220.0100.00610.98
5.5.210.0070.00711.04
5.5.200.0110.00410.98
5.5.190.0120.00211.00
5.5.180.0070.00811.06
5.5.170.0120.00714.26
5.5.160.0120.00310.92
5.5.150.0050.00811.05
5.5.140.0080.00510.94
5.5.130.0100.00511.00
5.5.120.0100.00411.05
5.5.110.0060.00911.14
5.5.100.0120.00210.96
5.5.90.0090.00611.12
5.5.80.0080.00411.08
5.5.70.0090.00510.98
5.5.60.0090.00611.02
5.5.50.0090.00610.94
5.5.40.0100.00511.07
5.5.30.0080.00711.02
5.5.20.0090.00611.05
5.5.10.0100.00610.95
5.5.00.0100.00611.01
5.4.450.0110.00511.03
5.4.440.0090.00611.02
5.4.430.0130.00411.03
5.4.420.0110.00310.99
5.4.410.0040.01011.12
5.4.400.0110.00411.06
5.4.390.0090.00610.97
5.4.380.0090.00711.02
5.4.370.0090.00610.99
5.4.360.0080.00711.04
5.4.350.0100.00510.90
5.4.340.0110.00410.89
5.4.330.0090.00611.10
5.4.320.0120.00310.93
5.4.310.0070.00711.03
5.4.300.0090.00510.95
5.4.290.0090.00710.92
5.4.280.0070.00710.98
5.4.270.0080.00710.96
5.4.260.0080.00711.00
5.4.250.0120.00310.97
5.4.240.0100.00510.95
5.4.230.0120.00510.98
5.4.220.0090.00610.95
5.4.210.0080.00910.95
5.4.200.0100.00610.98
5.4.190.0120.00411.01
5.4.180.0110.00611.02
5.4.170.0090.00610.92
5.4.160.0110.00510.98
5.4.150.0110.00410.90
5.4.140.0110.00711.01
5.4.130.0090.00611.01
5.4.120.0110.00510.96
5.4.110.0130.00310.98
5.4.100.0090.00610.91
5.4.90.0120.00310.98
5.4.80.0100.00411.03
5.4.70.0090.00411.07
5.4.60.0070.00810.94
5.4.50.0100.00411.00
5.4.40.0120.00311.02
5.4.30.0070.00811.00
5.4.20.0100.00411.01
5.4.10.0080.00710.98
5.4.00.0090.00611.05
5.3.290.0080.00710.80
5.3.280.0080.00710.75
5.3.270.0080.00710.76
5.3.260.0090.00610.76
5.3.250.0100.00510.72
5.3.240.0090.00610.72
5.3.230.0120.00210.72
5.3.220.0070.00810.68
5.3.210.0100.00510.73
5.3.200.0070.00910.72
5.3.190.0140.00010.70
5.3.180.0050.01010.79
5.3.170.0070.00710.79
5.3.160.0090.00510.76
5.3.150.0080.00610.78
5.3.140.0080.00710.77
5.3.130.0090.00710.79
5.3.120.0070.00610.74
5.3.110.0060.00710.77
5.3.100.0090.00410.73
5.3.90.0090.00510.69
5.3.80.0090.00510.66
5.3.70.0070.00710.65
5.3.60.0080.00510.75
5.3.50.0060.00710.70
5.3.40.0090.00610.67
5.3.30.0080.00510.77
5.3.20.0070.00610.64
5.3.10.0080.00510.62
5.3.00.0090.00310.62
5.2.170.0060.00510.29
5.2.160.0070.00510.25
5.2.150.0060.00610.31
5.2.140.0080.00410.28
5.2.130.0050.00810.22
5.2.120.0090.00410.19
5.2.110.0080.00410.22
5.2.100.0080.00410.24
5.2.90.0090.00410.14
5.2.80.0080.00410.14
5.2.70.0080.00410.15
5.2.60.0080.00410.20
5.2.50.0080.00410.06
5.2.40.0080.00410.19
5.2.30.0080.00410.15
5.2.20.0050.00710.15
5.2.10.0050.00610.12
5.2.00.0070.00510.02
5.1.60.0050.0049.88
5.1.50.0050.0049.88
5.1.40.0050.0049.88
5.1.30.0040.0059.88
5.1.20.0090.0019.88
5.1.10.0070.0039.88
5.1.00.0070.0039.88
5.0.50.0040.0049.88
5.0.40.0030.0059.88
5.0.30.0050.0049.88
5.0.20.0040.0059.88
5.0.10.0060.0039.88
5.0.00.0070.0009.88
4.4.90.0070.0019.88
4.4.80.0040.0049.88
4.4.70.0030.0049.88
4.4.60.0070.0009.88
4.4.50.0050.0019.88
4.4.40.0040.0039.88
4.4.30.0040.0039.88
4.4.20.0050.0029.88
4.4.10.0050.0029.88
4.4.00.0050.0019.88
4.3.110.0030.0049.88
4.3.100.0030.0039.88
4.3.90.0010.0059.88
4.3.80.0020.0049.88
4.3.70.0020.0059.88
4.3.60.0030.0049.88
4.3.50.0020.0059.88
4.3.40.0020.0059.88
4.3.30.0010.0049.88
4.3.20.0040.0039.88
4.3.10.0030.0049.88
4.3.00.0050.0029.88