3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $datetime = DateTime::createFromFormat('YmdHi', '201308131830'); echo $datetime->format('D');
based on BIQb6

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.0070.00716.48
7.3.00.0760.00714.94
7.2.130.0560.00915.26
7.2.120.0570.00615.28
7.2.110.0460.00915.06
7.2.100.0530.00615.06
7.2.90.0460.00915.07
7.2.80.0480.00715.05
7.2.70.0480.00715.22
7.2.60.0520.00715.26
7.2.50.0490.00615.24
7.2.40.0550.00715.26
7.2.30.0450.00815.23
7.2.20.0460.00815.30
7.2.10.0440.00815.23
7.2.00.0450.00815.31
7.1.250.0550.00814.07
7.1.240.0630.00713.98
7.1.230.0490.00713.97
7.1.220.0570.00813.99
7.1.210.0560.00713.96
7.1.200.0560.00713.97
7.1.190.0490.00714.01
7.1.180.0540.00813.91
7.1.170.0560.00613.85
7.1.160.0540.00714.03
7.1.150.0490.00513.93
7.1.140.0470.00714.02
7.1.130.0430.00713.99
7.1.120.0490.00713.93
7.1.110.0490.00714.03
7.1.100.0460.00613.99
7.1.90.0480.00813.97
7.1.80.0450.00713.95
7.1.70.0420.00714.01
7.1.60.0420.00918.50
7.1.50.0480.00818.47
7.1.40.0390.00818.46
7.1.30.0490.00818.42
7.1.20.0600.00718.42
7.1.10.0560.00813.92
7.1.00.0400.00713.92
7.0.330.0750.00713.62
7.0.320.0500.00813.89
7.0.310.0580.00713.71
7.0.300.0540.00713.79
7.0.290.0510.00613.73
7.0.280.0540.00613.69
7.0.270.0500.00813.73
7.0.260.0530.00613.76
7.0.250.0510.00713.71
7.0.240.0520.00813.72
7.0.230.0460.00713.78
7.0.220.0490.00513.75
7.0.210.0440.00713.79
7.0.200.0510.00713.69
7.0.190.0540.00513.79
7.0.180.0540.00713.72
7.0.170.0410.00813.73
7.0.160.0400.00613.78
7.0.150.0370.00713.75
7.0.140.0390.00713.73
7.0.130.0470.00613.74
7.0.120.0380.00813.67
7.0.110.0450.00713.75
7.0.100.0480.00713.77
7.0.90.0530.00713.75
7.0.80.0430.00813.69
7.0.70.0440.00713.73
7.0.60.0490.00813.77
7.0.50.0420.00713.83
7.0.40.0400.00613.78
7.0.30.0440.00713.80
7.0.20.0390.00613.78
7.0.10.0430.00613.81
7.0.00.0440.00713.77
hhvm-3.22.00.1160.17490.26
hhvm-3.21.30.0990.18190.08
hhvm-3.21.00.1070.17190.05
hhvm-3.20.20.1020.17890.39
hhvm-3.19.20.1040.17289.51
hhvm-3.18.50.0950.17388.25
hhvm-3.18.40.0970.17488.43
hhvm-3.17.30.1010.16087.32
hhvm-3.15.40.0920.15785.13
hhvm-3.13.20.1200.17496.59
hhvm-3.12.140.1230.17395.29
hhvm-3.11.10.1110.17487.46
hhvm-3.10.10.1020.17784.43
5.6.380.0070.00914.27
5.6.370.0140.00914.43
5.6.360.0110.01014.41
5.6.350.0130.00914.37
5.6.340.0150.00614.32
5.6.330.0140.00714.37
5.6.320.0110.01014.29
5.6.310.0140.00714.34
5.6.300.0140.00814.38
5.6.290.0120.00914.33
5.6.280.0120.00814.42
5.6.270.0110.00914.33
5.6.260.0110.01014.34
5.6.250.0130.00814.34
5.6.240.0130.00614.35
5.6.230.0130.00814.25
5.6.220.0130.00714.28
5.6.210.0090.01114.35
5.6.200.0140.00714.34
5.6.190.0120.00814.31
5.6.180.0130.00714.35
5.6.170.0110.00914.19
5.6.160.0130.00814.26
5.6.150.0130.00614.27
5.6.140.0140.00714.30
5.6.130.0150.00614.31
5.6.120.0130.00714.39
5.6.110.0110.00914.27
5.6.100.0110.00814.31
5.6.90.0120.00814.31
5.6.80.0120.00914.22
5.6.70.0140.00614.19
5.6.60.0130.00714.20
5.6.50.0120.00814.29
5.6.40.0100.00914.30
5.6.30.0100.00914.25
5.6.20.0110.00914.29
5.6.10.0130.00714.15
5.6.00.0130.00714.20
5.5.380.0100.00611.11
5.5.370.0100.00511.09
5.5.360.0090.00611.10
5.5.350.0080.00611.13
5.5.340.0120.00411.10
5.5.330.0100.00511.13
5.5.320.0100.00511.07
5.5.310.0100.00611.13
5.5.300.0100.00611.11
5.5.290.0090.00511.12
5.5.280.0120.00411.16
5.5.270.0090.00511.13
5.5.260.0090.00711.16
5.5.250.0110.00411.07
5.5.240.0090.00611.09
5.5.230.0100.00411.07
5.5.220.0090.00611.06
5.5.210.0080.00611.06
5.5.200.0110.00511.03
5.5.190.0080.00611.07
5.5.180.0100.00511.05
5.5.170.0130.00713.99
5.5.160.0080.00611.07
5.5.150.0100.00511.07
5.5.140.0100.00511.05
5.5.130.0090.00611.02
5.5.120.0100.00511.04
5.5.110.0100.00511.07
5.5.100.0100.00611.00
5.5.90.0100.00511.10
5.5.80.0090.00611.10
5.5.70.0100.00611.10
5.5.60.0080.00611.09
5.5.50.0090.00611.16
5.5.40.0100.00510.98
5.5.30.0060.00911.11
5.5.20.0090.00611.04
5.5.10.0090.00511.08
5.5.00.0090.00611.01
5.4.450.0100.00511.12
5.4.440.0080.00610.99
5.4.430.0090.00611.01
5.4.420.0100.00511.05
5.4.410.0100.00511.03
5.4.400.0100.00511.00
5.4.390.0080.00711.01
5.4.380.0100.00510.96
5.4.370.0090.00510.94
5.4.360.0100.00510.97
5.4.350.0090.00510.98
5.4.340.0090.00611.00
5.4.330.0100.00510.96
5.4.320.0100.00410.98
5.4.310.0100.00610.98
5.4.300.0100.00510.98
5.4.290.0100.00510.96
5.4.280.0110.00410.98
5.4.270.0080.00710.95
5.4.260.0100.00510.92
5.4.250.0080.00711.02
5.4.240.0100.00610.98
5.4.230.0090.00610.95
5.4.220.0090.00410.96
5.4.210.0090.00610.96
5.4.200.0090.00611.01
5.4.190.0100.00610.92
5.4.180.0100.00610.99
5.4.170.0100.00510.93
5.4.160.0100.00511.01
5.4.150.0080.00710.96
5.4.140.0080.00610.95
5.4.130.0090.00610.98
5.4.120.0090.00611.05
5.4.110.0090.00510.98
5.4.100.0080.00711.03
5.4.90.0100.00411.00
5.4.80.0090.00510.93
5.4.70.0090.00511.00
5.4.60.0080.00610.99
5.4.50.0100.00411.02
5.4.40.0100.00411.02
5.4.30.0090.00510.99
5.4.20.0080.00611.05
5.4.10.0090.00611.03
5.4.00.0100.00511.01
5.3.290.0090.00610.82
5.3.280.0080.00610.69
5.3.270.0090.00510.80
5.3.260.0090.00510.73
5.3.250.0100.00410.71
5.3.240.0090.00410.70
5.3.230.0080.00610.75
5.3.220.0080.00510.57
5.3.210.0080.00510.57
5.3.200.0090.00510.60
5.3.190.0090.00410.60
5.3.180.0110.00410.71
5.3.170.0070.00610.70
5.3.160.0090.00510.69
5.3.150.0110.00310.72
5.3.140.0080.00610.69
5.3.130.0090.00510.67
5.3.120.0080.00610.66
5.3.110.0100.00510.68
5.3.100.0100.00410.73
5.3.90.0090.00510.63
5.3.80.0090.00510.50
5.3.70.0090.00410.53
5.3.60.0080.00510.72
5.3.50.0080.00510.62
5.3.40.0080.00610.62
5.3.30.0070.00610.67
5.3.20.0090.00410.65
5.3.10.0090.00510.45
5.3.00.0070.00610.57
5.2.170.0080.0049.90
5.2.160.0080.0039.91
5.2.150.0060.0059.92
5.2.140.0070.0049.85
5.2.130.0050.0069.83
5.2.120.0080.0049.84
5.2.110.0060.0059.83
5.2.100.0070.0049.82
5.2.90.0070.0049.85
5.2.80.0080.0049.85
5.2.70.0060.0059.83
5.2.60.0080.0049.82
5.2.50.0070.0049.84
5.2.40.0060.0049.84
5.2.30.0060.0049.87
5.2.20.0070.0049.81
5.2.10.0070.0049.75
5.2.00.0070.0039.74
5.1.60.0070.0039.66
5.1.50.0050.0049.65
5.1.40.0060.0049.67
5.1.30.0050.0049.68
5.1.20.0050.0059.66
5.1.10.0070.0039.66
5.1.00.0070.0039.64
5.0.50.0050.0029.56
5.0.40.0060.0029.55
5.0.30.0050.0039.53
5.0.20.0050.0039.54
5.0.10.0050.0039.53
5.0.00.0050.0039.49
4.4.90.0040.0039.40
4.4.80.0030.0049.40
4.4.70.0030.0049.40
4.4.60.0040.0039.40
4.4.50.0040.0039.40
4.4.40.0030.0049.40
4.4.30.0030.0049.40
4.4.20.0040.0039.40
4.4.10.0040.0039.40
4.4.00.0040.0039.40
4.3.110.0030.0049.40
4.3.100.0040.0039.40
4.3.90.0040.0029.40
4.3.80.0040.0029.40
4.3.70.0050.0039.40
4.3.60.0040.0039.40
4.3.50.0040.0039.40
4.3.40.0030.0049.40
4.3.30.0020.0049.40
4.3.20.0030.0049.40
4.3.10.0030.0039.40
4.3.00.0030.0039.40