3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('date.timezone', 'invalid'); // var_dump(date_default_timezone_get());
based on 4DJ1H

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.0120.00316.33
7.3.00.0090.00716.43
7.2.130.0090.00516.53
7.2.120.0060.00516.62
7.2.110.0020.00916.64
7.2.100.0040.01016.49
7.2.90.0020.01116.88
7.2.80.0050.00816.60
7.2.70.0050.00816.69
7.2.60.0090.00716.78
7.2.50.0070.00516.67
7.2.40.0050.00516.78
7.2.30.0030.01116.79
7.2.20.0090.00516.67
7.2.10.0090.00316.70
7.2.00.0050.00816.54
7.1.250.0050.01115.80
7.1.240.0070.00315.71
7.1.230.0100.00315.47
7.1.220.0060.00915.64
7.1.210.0070.00315.77
7.1.200.0100.00015.72
7.1.190.0000.01415.79
7.1.180.0060.00315.48
7.1.170.0040.00415.33
7.1.160.0040.00815.41
7.1.150.0000.01015.78
7.1.140.0060.00615.41
7.1.130.0000.00815.70
7.1.120.0030.00515.55
7.1.110.0040.00715.86
7.1.100.0110.00315.78
7.1.90.0050.00515.86
7.1.80.0000.01015.68
7.1.70.0050.00515.52
7.1.60.0060.00315.77
7.1.50.0030.00915.57
7.1.40.0000.01115.73
7.1.30.0000.01115.58
7.1.20.0030.00615.65
7.1.10.0070.00415.53
7.1.00.0030.00615.23
7.0.330.0070.00415.00
7.0.320.0040.00415.27
7.0.310.0030.01015.14
7.0.300.0090.00015.31
7.0.290.0040.00415.03
7.0.280.0060.00315.14
7.0.270.0000.00915.16
7.0.260.0060.00614.99
7.0.250.0000.00915.42
7.0.240.0040.00715.45
7.0.230.0030.01015.33
7.0.220.0060.00315.08
7.0.210.0050.00515.03
7.0.200.0000.00915.05
7.0.190.0030.00615.30
7.0.180.0070.00315.40
7.0.170.0060.00315.28
7.0.160.0070.00415.36
7.0.150.0080.00315.35
7.0.140.0070.00715.40
7.0.130.0070.00315.21
7.0.120.0030.00715.42
7.0.110.0030.00515.27
7.0.100.0080.00315.33
7.0.90.0000.00914.85
7.0.80.0000.00815.05
7.0.70.0000.00915.40
7.0.60.0070.00415.14
7.0.50.0060.00615.32
7.0.40.0040.00713.39
7.0.30.0080.00413.41
7.0.20.0060.00313.36
7.0.10.0040.00813.30
7.0.00.0030.00713.27
hhvm-3.10.10.1000.11284.32
5.6.380.0040.00714.18
5.6.370.0000.00814.09
5.6.360.0050.00513.97
5.6.350.0030.01014.25
5.6.340.0030.00613.81
5.6.330.0000.00814.14
5.6.320.0040.00714.31
5.6.310.0030.00913.90
5.6.300.0070.00313.83
5.6.290.0070.00714.46
5.6.280.0000.01213.96
5.6.270.0070.00314.10
5.6.260.0070.00314.37
5.6.250.0030.00814.07
5.6.240.0030.01114.02
5.6.230.0100.00014.25
5.6.220.0000.01213.85
5.6.210.0030.00614.05
5.6.200.0070.00313.91
5.6.190.0040.00714.26
5.6.180.0060.00313.90
5.6.170.0030.00714.07
5.6.160.0000.00913.96
5.6.150.0050.00814.12
5.6.140.0060.00613.92
5.6.130.0100.00514.21
5.6.120.0090.00414.00
5.6.110.0090.00314.02
5.6.100.0060.00714.08
5.6.90.0040.00714.00
5.6.80.0050.00614.01
5.6.70.0050.00614.08
5.6.60.0100.00414.07
5.6.50.0080.00613.91
5.6.40.0050.00613.91
5.6.30.0050.00913.85
5.6.20.0090.00413.99
5.6.10.0040.01113.85
5.6.00.0050.00613.78
5.5.380.0000.00910.90
5.5.370.0050.00310.90
5.5.360.0000.00810.90
5.5.350.0030.00610.90
5.5.340.0040.00410.90
5.5.330.0030.00510.90
5.5.320.0000.00610.90
5.5.310.0040.00410.90
5.5.300.0050.00411.00
5.5.290.0040.00610.91
5.5.280.0080.00110.95
5.5.270.0020.00510.93
5.5.260.0030.00611.00
5.5.250.0070.00310.88
5.5.240.0070.00210.79
5.5.230.0030.00410.72
5.5.220.0060.00410.90
5.5.210.0030.00610.82
5.5.200.0050.00510.77
5.5.190.0040.00510.83
5.5.180.0050.00510.82
5.5.170.0060.00512.43
5.5.160.0020.00910.87
5.5.150.0100.00210.76
5.5.140.0040.00610.61
5.5.130.0030.00610.77
5.5.120.0040.00510.75
5.5.110.0080.00210.90
5.5.100.0000.00910.82
5.5.90.0030.00710.68
5.5.80.0060.00410.79
5.5.70.0060.00310.85
5.5.60.0050.00410.86
5.5.50.0050.00410.85
5.5.40.0070.00210.76
5.5.30.0050.00610.91
5.5.20.0020.00710.70
5.5.10.0080.00110.77
5.5.00.0050.00610.75