3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $date = new DateTime(); $date->format('Y-m-d H:i:s'); $date->modify('+1 minute'); echo $date;

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.00.0070.00416.79
7.2.130.0000.01416.99
7.2.120.0070.00716.90
7.2.110.0030.00517.16
7.2.100.0030.00616.91
7.2.90.0030.01016.69
7.2.80.0100.00616.94
7.2.70.0080.00417.06
7.2.60.0050.00916.72
7.2.50.0050.00517.04
7.2.40.0070.01017.11
7.2.30.0080.00317.12
7.2.20.0000.00916.79
7.2.10.0030.01017.20
7.2.00.0070.01018.34
7.1.250.0030.00715.87
7.1.240.0100.00615.73
7.1.230.0080.00815.81
7.1.220.0030.01315.79
7.1.210.0070.00715.81
7.1.200.0060.00615.80
7.1.190.0050.00815.89
7.1.180.0090.00615.79
7.1.170.0070.01015.97
7.1.160.0040.01115.73
7.1.150.0040.01215.77
7.1.140.0030.01016.01
7.1.130.0030.01015.82
7.1.120.0070.00415.67
7.1.110.0030.01615.73
7.1.100.0040.00916.93
7.1.90.0040.00715.91
7.1.80.0110.00015.95
7.1.70.0030.00916.38
7.1.60.0050.01517.61
7.1.50.0020.01116.12
7.1.40.0030.00916.07
7.1.30.0000.01015.72
7.1.20.0140.00315.92
7.1.10.0090.00315.90
7.1.00.0030.04319.02
7.0.330.0120.00015.03
7.0.320.0060.00615.13
7.0.310.0120.00015.12
7.0.300.0100.00315.43
7.0.290.0040.01115.62
7.0.280.0090.00315.11
7.0.270.0030.00915.48
7.0.260.0100.00315.46
7.0.250.0130.00315.17
7.0.240.0090.00615.51
7.0.230.0040.00815.55
7.0.220.0060.00615.23
7.0.210.0090.00615.50
7.0.200.0180.00815.10
7.0.190.0110.00415.49
7.0.180.0030.00615.15
7.0.170.0070.00715.57
7.0.160.0040.01115.32
7.0.150.0030.00715.41
7.0.140.0000.01015.50
7.0.130.0000.01315.40
7.0.120.0030.01015.25
7.0.110.0000.00915.13
7.0.100.0090.00315.46
7.0.90.0100.00315.50
7.0.80.0040.00715.35
7.0.70.0100.00715.20
7.0.60.0200.03617.57
7.0.50.0100.04216.70
7.0.40.0020.04816.76
7.0.30.0130.02716.61
7.0.20.0180.03716.83
7.0.10.0120.04216.84
7.0.00.0110.04016.80
5.6.380.0110.00414.21
5.6.370.0140.00314.09
5.6.360.0030.00914.19
5.6.350.0040.01314.24
5.6.340.0110.00614.13
5.6.330.0000.01614.21
5.6.320.0040.01114.24
5.6.310.0080.00814.12
5.6.300.0100.00614.23
5.6.290.0030.01014.08
5.6.280.0050.01817.44
5.6.270.0050.00414.36
5.6.260.0040.01114.33
5.6.250.0060.00314.11
5.6.240.0000.01414.02
5.6.230.0040.00814.34
5.6.220.0060.00914.09
5.6.210.0100.03817.55
5.6.200.0050.04316.14
5.6.190.0120.04217.45
5.6.180.0100.02517.45
5.6.170.0090.02517.46
5.6.160.0050.03817.37
5.6.150.0020.03216.27
5.6.140.0080.02216.25
5.6.130.0100.03516.37
5.6.120.0090.03117.51
5.6.110.0060.02517.54
5.6.100.0080.04317.61
5.6.90.0100.03817.70
5.6.80.0030.03517.18
5.6.70.0070.01114.02
5.6.60.0110.00414.01
5.6.50.0150.00314.28
5.6.40.0080.01114.11
5.6.30.0060.00614.17
5.6.20.0000.01214.07
5.6.10.0070.00714.51
5.6.00.0060.00614.27
5.5.380.0050.00211.18
5.5.370.0020.00511.18
5.5.360.0040.00411.18
5.5.350.0100.02115.75
5.5.340.0070.04314.60
5.5.330.0020.02515.73
5.5.320.0270.02015.75
5.5.310.0220.03515.73
5.5.300.0030.02414.64
5.5.290.0020.03514.59
5.5.280.0040.02415.97
5.5.270.0050.04616.07
5.5.260.0030.04715.92
5.5.250.0080.03315.87
5.5.240.0050.03915.73
5.5.230.0090.00911.18
5.5.220.0060.00911.28
5.5.210.0040.00711.18
5.5.200.0000.01011.18
5.5.190.0040.00411.18
5.5.180.0030.00311.21
5.5.170.0060.00311.18
5.5.160.0050.00511.18
5.5.150.0030.00311.18
5.5.140.0030.00311.18
5.5.130.0090.00311.18
5.5.120.0040.00411.18
5.5.110.0050.00211.18
5.5.100.0100.00011.18
5.5.90.0050.00311.18
5.5.80.0030.00711.18
5.5.70.0070.00311.18
5.5.60.0030.00911.18
5.5.50.0060.00311.23
5.5.40.0030.00711.18
5.5.30.0090.00011.29
5.5.20.0100.00011.33
5.5.10.0070.00511.18
5.5.00.0050.00511.18
5.4.450.0730.06019.57
5.4.440.0770.06019.54
5.4.430.0700.05719.51
5.4.420.0430.06319.55
5.4.410.1000.05319.31
5.4.400.0900.04719.32
5.4.390.0970.05019.23
5.4.380.0670.06718.90
5.4.370.0800.06019.26
5.4.360.0630.06319.10
5.4.350.0970.06319.10
5.4.340.0970.07719.09
5.4.320.0700.06019.24
5.4.310.0900.05018.88
5.4.300.1270.07018.91
5.4.290.1100.06019.20
5.4.280.0970.06019.23
5.4.270.1130.07318.88
5.4.260.0830.06019.07
5.4.250.0900.04719.14
5.4.240.1270.06319.11
5.4.230.0800.05719.20
5.4.220.0770.05319.25
5.4.210.0930.06719.13
5.4.200.0670.06019.21
5.4.190.0900.06319.14
5.4.180.0770.06019.20
5.4.170.0930.06719.08
5.4.160.0830.05319.04
5.4.150.0800.05319.07
5.4.140.0700.05316.45
5.4.130.0630.05316.46
5.4.120.0800.04716.30
5.3.290.0900.04314.59
5.3.280.1230.06714.53
5.3.270.0730.05714.52
5.3.260.1070.06314.54
5.3.250.0700.05714.46
5.3.240.0630.05714.40
5.3.230.0670.05714.49
5.3.220.0700.05714.65