3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datetime = new DateTime('14 October, 2013'); $time = $datetime->format('U'); var_dump($time, date('Y-m-d H:i:s', $time));

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).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.70.0160.00316.58
8.3.60.0040.01418.56
8.3.50.0120.00722.05
8.3.40.0120.00318.79
8.3.30.0060.00918.79
8.3.20.0090.00018.90
8.3.10.0080.00021.04
8.3.00.0030.00623.71
8.2.190.0140.00718.63
8.2.180.0150.00318.54
8.2.170.0070.00722.96
8.2.160.0070.00720.57
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00021.06
8.2.110.0040.00421.06
8.2.100.0080.00417.84
8.2.90.0000.00919.01
8.2.80.0050.00317.97
8.2.70.0080.00017.63
8.2.60.0000.00817.93
8.2.50.0050.00318.07
8.2.40.0060.00318.09
8.2.30.0000.01019.31
8.2.20.0040.00417.79
8.2.10.0080.00017.86
8.2.00.0110.00017.79
8.1.280.0130.01025.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00319.40
8.1.230.0040.00720.96
8.1.220.0080.00018.77
8.1.210.0070.00318.78
8.1.200.0060.00317.35
8.1.190.0040.00417.54
8.1.180.0000.00818.10
8.1.170.0040.00418.64
8.1.160.0080.00018.88
8.1.150.0070.00018.64
8.1.140.0000.00717.48
8.1.130.0030.00317.86
8.1.120.0030.00617.59
8.1.110.0030.00617.41
8.1.100.0040.00417.58
8.1.90.0000.00817.49
8.1.80.0080.00017.63
8.1.70.0000.00717.56
8.1.60.0060.00317.57
8.1.50.0000.00717.46
8.1.40.0000.00817.58
8.1.30.0040.00417.71
8.1.20.0040.00417.59
8.1.10.0000.00717.66
8.1.00.0060.00617.60
8.0.300.0000.00719.70
8.0.290.0000.00717.18
8.0.280.0070.00018.57
8.0.270.0000.00716.88
8.0.260.0030.00316.88
8.0.250.0040.00417.05
8.0.240.0040.00417.03
8.0.230.0030.00316.99
8.0.220.0000.00716.95
8.0.210.0030.00317.02
8.0.200.0000.00617.09
8.0.190.0040.00417.09
8.0.180.0040.00417.06
8.0.170.0050.00317.02
8.0.160.0050.00217.14
8.0.150.0050.00216.98
8.0.140.0070.00016.95
8.0.130.0000.00613.34
8.0.120.0040.00416.96
8.0.110.0000.00817.09
8.0.100.0040.00416.90
8.0.90.0040.00417.04
8.0.80.0030.01316.94
8.0.70.0000.00716.91
8.0.60.0040.00417.03
8.0.50.0040.00416.97
8.0.30.0120.00617.27
8.0.20.0090.00817.40
8.0.10.0030.00617.20
8.0.00.0070.01016.84
7.4.330.0000.00514.78
7.4.320.0000.00616.65
7.4.300.0000.00616.72
7.4.290.0000.00716.74
7.4.280.0030.00316.59
7.4.270.0000.00716.63
7.4.260.0050.00316.65
7.4.250.0050.00216.64
7.4.240.0020.00516.69
7.4.230.0050.00316.56
7.4.220.0040.00516.63
7.4.210.0060.00916.66
7.4.200.0070.00016.74
7.4.190.0050.00216.85
7.4.160.0130.00316.41
7.4.150.0090.00817.40
7.4.140.0110.00717.86
7.4.130.0110.00616.62
7.4.120.0130.00416.64
7.4.110.0080.01616.49
7.4.100.0110.00616.63
7.4.90.0180.00316.66
7.4.80.0070.01019.39
7.4.70.0080.01116.38
7.4.60.0090.01216.59
7.4.50.0040.00416.54
7.4.40.0030.01022.52
7.4.30.0100.01416.79
7.4.00.0030.01014.84
7.3.330.0000.00513.10
7.3.320.0000.00613.11
7.3.310.0000.00616.29
7.3.300.0000.00716.30
7.3.290.0070.00716.21
7.3.280.0090.00916.22
7.3.270.0060.01217.40
7.3.260.0120.00818.24
7.3.250.0080.01016.46
7.3.240.0090.00816.58
7.3.230.0060.01216.39
7.3.210.0120.01016.53
7.3.200.0150.00619.39
7.3.190.0070.01016.48
7.3.180.0040.01216.25
7.3.170.0090.00616.46
7.3.160.0150.00016.63
7.3.120.0060.01016.90
7.3.110.0130.00316.90
7.3.100.0110.00316.90
7.3.90.0130.00316.90
7.3.80.0090.00316.90
7.3.70.0080.00616.90
7.3.60.0140.00016.90
7.3.50.0030.01216.90
7.3.40.0070.00716.90
7.3.30.0090.00316.90
7.3.20.0070.00716.90
7.3.10.0060.00816.75
7.3.00.0080.00616.71
7.2.330.0050.01616.64
7.2.320.0030.01416.74
7.2.310.0090.00916.50
7.2.300.0070.01016.70
7.2.290.0070.01016.58
7.2.240.0030.01316.90
7.2.230.0070.00716.90
7.2.220.0070.00416.90
7.2.210.0060.00916.90
7.2.200.0030.01416.90
7.2.190.0060.00316.90
7.2.180.0090.00616.90
7.2.170.0030.00716.90
7.2.160.0000.00916.90
7.2.150.0060.00616.90
7.2.140.0120.00616.93
7.2.130.0060.00817.00
7.2.120.0050.00716.93
7.2.110.0030.01016.89
7.2.100.0060.00816.79
7.2.90.0110.00416.71
7.2.80.0030.00916.85
7.2.70.0060.00516.98
7.2.60.0010.01216.89
7.2.50.0050.00816.88
7.2.40.0060.00616.87
7.2.30.0060.00816.93
7.2.20.0080.00616.93
7.2.10.0040.00716.87
7.2.00.0060.00616.87
7.1.330.0110.00416.90
7.1.320.0060.00616.90
7.1.310.0000.01816.90
7.1.300.0100.00716.90
7.1.290.0140.00016.90
7.1.280.0070.00716.90
7.1.270.0060.00616.90
7.1.260.0000.00916.90
7.1.250.0070.00516.18
7.1.240.0140.00015.93
7.1.230.0120.00015.82
7.1.220.0070.00715.52
7.1.210.0060.00615.75
7.1.200.0060.00315.60
7.1.190.0040.00815.57
7.1.180.0090.00615.70
7.1.170.0030.01015.88
7.1.160.0060.00615.70
7.1.150.0070.00715.76
7.1.140.0030.01015.70
7.1.130.0060.00315.75
7.1.120.0060.00615.80
7.1.110.0060.00615.86
7.1.100.0030.00915.88
7.1.90.0030.00915.59
7.1.80.0090.00315.78
7.1.70.0010.01416.64
7.1.60.0140.00517.67
7.1.50.0080.01016.41
7.1.40.0030.00715.77
7.1.30.0070.00715.76
7.1.20.0090.00615.80
7.1.10.0110.00315.97
7.1.00.0020.02819.15
7.0.320.0070.00715.45
7.0.310.0030.00915.21
7.0.300.0040.00415.46
7.0.290.0000.01215.52
7.0.280.0060.00615.45
7.0.270.0090.00015.58
7.0.260.0040.00415.41
7.0.250.0060.00615.52
7.0.240.0040.00415.48
7.0.230.0000.01315.67
7.0.220.0100.00315.55
7.0.210.0030.00915.64
7.0.200.0040.00716.27
7.0.190.0060.00915.46
7.0.180.0100.00315.63
7.0.170.0030.00515.53
7.0.160.0130.00015.19
7.0.150.0070.00415.55
7.0.140.0020.04018.79
7.0.130.0050.00515.42
7.0.120.0030.00915.67
7.0.110.0000.00915.59
7.0.100.0150.00015.36
7.0.90.0120.02518.64
7.0.80.0050.04418.52
7.0.70.0090.03418.67
7.0.60.0050.04418.63
7.0.50.0100.03618.86
7.0.40.0110.04316.78
7.0.30.0070.02416.93
7.0.20.0050.04816.71
7.0.10.0050.03316.75
7.0.00.0060.03316.92
5.6.380.0130.00314.23
5.6.370.0030.00614.64
5.6.360.0100.00314.49
5.6.350.0040.01114.58
5.6.340.0060.00614.40
5.6.330.0080.00414.14
5.6.320.0060.00914.54
5.6.310.0030.01014.03
5.6.300.0090.00314.58
5.6.290.0070.00714.59
5.6.280.0030.04117.75
5.6.270.0060.00314.29
5.6.260.0050.00314.53
5.6.250.0080.00414.40
5.6.240.0070.03817.68
5.6.230.0060.04617.57
5.6.220.0070.03217.41
5.6.210.0040.03917.44
5.6.200.0050.03117.89
5.6.190.0110.03017.71
5.6.180.0050.04517.62
5.6.170.0080.02317.66
5.6.160.0050.03917.72
5.6.150.0070.03717.70
5.6.140.0060.02517.61
5.6.130.0080.03317.65
5.6.120.0100.01517.84
5.6.110.0090.04517.61
5.6.100.0120.02317.82
5.6.90.0090.02117.76
5.6.80.0030.02417.36
5.6.70.0070.02217.55
5.6.60.0080.02817.27
5.6.50.0040.04417.41
5.6.40.0060.02417.34
5.6.30.0050.02417.34
5.6.20.0060.01817.45
5.6.10.0100.01817.36
5.6.00.0100.02317.38
5.5.380.0070.02515.69
5.5.370.0030.02715.71
5.5.360.0080.03815.98
5.5.350.0080.02015.79
5.5.340.0050.03715.96
5.5.330.0070.04016.01
5.5.320.0050.03516.04
5.5.310.0080.03316.02
5.5.300.0080.04315.88
5.5.290.0070.02015.93
5.5.280.0040.02415.89
5.5.270.0070.02816.13
5.5.260.0040.02416.00
5.5.250.0050.02215.93
5.5.240.0050.01815.72
5.5.230.0030.02215.79
5.5.220.0030.02515.75
5.5.210.0090.01815.67
5.5.200.0040.02615.65
5.5.190.0070.02815.50
5.5.180.0080.02015.68
5.5.170.0130.00314.50
5.5.160.0080.02115.73
5.5.150.0090.02015.74
5.5.140.0040.02315.53
5.5.130.0070.02015.57
5.5.120.0030.02315.61
5.5.110.0050.02315.72
5.5.100.0050.02115.59
5.5.90.0070.02315.63
5.5.80.0030.02615.51
5.5.70.0120.01515.34
5.5.60.0070.02015.44
5.5.50.0070.02215.57
5.5.40.0080.02715.47
5.5.30.0050.02115.52
5.5.20.0020.02315.50
5.5.10.0090.02015.69
5.5.00.0030.02115.55
5.4.450.0020.02715.09
5.4.440.0070.01715.08
5.4.430.0030.02315.16
5.4.420.0110.01715.20
5.4.410.0050.02014.99
5.4.400.0070.02015.07
5.4.390.0070.01814.93
5.4.380.0050.02015.11
5.4.370.0050.02115.06
5.4.360.0080.03015.04
5.4.350.0050.02715.04
5.4.340.0020.02715.12
5.4.330.0060.00510.93
5.4.320.0030.02115.00
5.4.310.0070.02214.96
5.4.300.0090.02115.06
5.4.290.0060.02014.98
5.4.280.0050.02215.12
5.4.270.0060.02014.86
5.4.260.0060.02015.11
5.4.250.0110.03015.03
5.4.240.0060.02014.96
5.4.230.0070.02015.06
5.4.220.0070.01815.13
5.4.210.0090.01914.98
5.4.200.0090.01814.81
5.4.190.0090.02214.99
5.4.180.0060.03114.87
5.4.170.0100.01514.81
5.4.160.0070.02014.95
5.4.150.0090.01414.93
5.4.140.0060.03513.69
5.4.130.0030.03413.62
5.4.120.0030.04413.58
5.4.110.0050.04113.74
5.4.100.0040.01813.60
5.4.90.0090.03413.82
5.4.80.0050.01713.58
5.4.70.0100.01813.66
5.4.60.0050.01913.65
5.4.50.0030.02113.62
5.4.40.0070.02013.53
5.4.30.0070.03813.64
5.4.20.0060.02813.70
5.4.10.0100.03213.76
5.4.00.0120.03313.32
5.3.290.0020.02312.66
5.3.280.0050.01812.59
5.3.270.0050.02012.65
5.3.260.0070.02212.61
5.3.250.0040.01912.39
5.3.240.0070.02412.40
5.3.230.0050.03212.50
5.3.220.0070.03712.44
5.3.210.0090.03912.42
5.3.200.0050.03912.40
5.3.190.0070.03712.45
5.3.180.0050.03612.57
5.3.170.0110.03612.47
5.3.160.0070.03912.58
5.3.150.0040.02112.57
5.3.140.0030.01912.57
5.3.130.0040.03512.46
5.3.120.0060.03012.52
5.3.110.0050.04512.51
5.3.100.0090.03912.17
5.3.90.0050.03212.22
5.3.80.0080.03812.24
5.3.70.0070.04012.21
5.3.60.0060.03812.32
5.3.50.0090.01812.26
5.3.40.0130.03312.23
5.3.30.0080.03512.19
5.3.20.0060.03712.11
5.3.10.0090.02011.99
5.3.00.0040.04211.95
5.2.170.0040.03410.42
5.2.160.0030.02510.37
5.2.150.0050.03710.45
5.2.140.0060.03210.28
5.2.130.0060.01810.25
5.2.120.0020.03410.25
5.2.110.0020.01610.30
5.2.100.0050.02710.32
5.2.90.0090.01310.28
5.2.80.0070.01710.23
5.2.70.0080.02810.25
5.2.60.0080.02310.14
5.2.50.0080.03410.12
5.2.40.0050.03110.17
5.2.30.0070.02010.15
5.2.20.0040.02010.19
5.2.10.0060.03110.13
5.2.00.0050.03210.00
5.1.60.0030.03010.00
5.1.50.0040.02910.00
5.1.40.0070.01810.00
5.1.30.0040.02210.00
5.1.20.0040.03010.00
5.1.10.0020.03110.00
5.1.00.0050.02010.00
5.0.50.0030.02510.00
5.0.40.0060.02010.00
5.0.30.0040.03310.00
5.0.20.0030.02210.00
5.0.10.0050.02210.00
5.0.00.0020.02110.00
4.4.90.0020.01810.00
4.4.80.0030.01810.00
4.4.70.0010.01010.00
4.4.60.0020.01810.00
4.4.50.0000.01910.00
4.4.40.0020.02910.00
4.4.30.0060.01610.00
4.4.20.0010.01810.00
4.4.10.0030.01010.00
4.4.00.0020.02810.00
4.3.110.0000.01210.00
4.3.100.0040.01310.00
4.3.90.0030.01710.00
4.3.80.0020.02810.00
4.3.70.0010.01510.00
4.3.60.0030.01810.00
4.3.50.0040.01710.00
4.3.40.0050.02310.00
4.3.30.0010.02110.00
4.3.20.0000.01810.00
4.3.10.0050.01810.00
4.3.00.0040.01710.00

preferences:
18.28 ms | 401 KiB | 5 Q