3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = date_create('2018-07-17T20:00:00Z', timezone_open('UTC')); echo date_format($date, 'Y-m-d H:i:sP') . "\n"; date_timezone_set($date, timezone_open('America/New_York')); echo date_format($date, 'Y-m-d H:i:s') . "\n";

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.60.0030.01318.43
8.3.50.0070.01118.11
8.3.40.0060.01218.97
8.3.30.0030.01219.02
8.3.20.0050.00319.11
8.3.10.0080.00021.64
8.3.00.0000.00823.70
8.2.180.0180.00418.29
8.2.170.0040.01122.96
8.2.160.0140.00019.21
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00018.09
8.2.120.0060.00326.35
8.2.110.0100.00020.97
8.2.100.0070.00417.91
8.2.90.0080.00017.88
8.2.80.0070.00317.97
8.2.70.0040.00418.05
8.2.60.0050.00317.91
8.2.50.0000.00918.10
8.2.40.0000.00819.52
8.2.30.0040.00419.31
8.2.20.0000.00918.00
8.2.10.0000.00719.52
8.2.00.0040.00419.49
8.1.280.0100.01025.92
8.1.270.0080.00020.23
8.1.260.0000.00726.35
8.1.250.0090.00028.09
8.1.240.0000.00922.61
8.1.230.0090.00320.87
8.1.220.0040.00418.77
8.1.210.0040.00419.05
8.1.200.0060.00317.48
8.1.190.0000.01117.38
8.1.180.0000.00918.10
8.1.170.0000.00718.95
8.1.160.0040.00418.87
8.1.150.0000.00718.95
8.1.140.0030.00519.58
8.1.130.0030.00319.03
8.1.120.0000.00817.71
8.1.110.0030.00517.70
8.1.100.0070.00017.68
8.1.90.0060.00317.67
8.1.80.0000.00717.65
8.1.70.0060.00317.54
8.1.60.0030.00917.73
8.1.50.0000.00817.64
8.1.40.0040.00417.55
8.1.30.0000.00817.77
8.1.20.0000.00717.77
8.1.10.0050.00317.69
8.1.00.0030.00617.55
8.0.300.0070.00019.98
8.0.290.0030.00717.00
8.0.280.0070.00018.50
8.0.270.0030.00317.19
8.0.260.0000.00617.25
8.0.250.0000.00717.06
8.0.240.0070.00017.13
8.0.230.0000.00717.16
8.0.220.0030.00316.93
8.0.210.0000.00717.09
8.0.200.0060.00017.02
8.0.190.0080.00017.05
8.0.180.0030.00616.95
8.0.170.0000.00917.10
8.0.160.0060.00317.09
8.0.150.0040.00316.96
8.0.140.0030.00516.93
8.0.130.0000.00613.47
8.0.120.0000.00816.96
8.0.110.0030.00516.97
8.0.100.0000.00716.96
8.0.90.0000.00717.13
8.0.80.0050.01116.99
8.0.70.0030.00517.13
8.0.60.0000.00717.04
8.0.50.0030.00316.88
8.0.30.0100.01017.18
8.0.20.0130.00817.40
8.0.10.0040.00417.20
8.0.00.0070.01416.80
7.4.330.0050.00015.55
7.4.320.0030.00316.61
7.4.300.0000.00716.63
7.4.290.0030.00316.54
7.4.280.0040.00416.53
7.4.270.0040.00416.54
7.4.260.0000.00716.68
7.4.250.0040.00416.54
7.4.240.0000.00716.52
7.4.230.0040.00416.68
7.4.220.0000.00816.53
7.4.210.0100.00516.65
7.4.200.0030.00316.35
7.4.160.0090.00716.60
7.4.140.0120.01017.86
7.4.130.0080.01716.61
7.4.120.0140.00516.65
7.4.110.0080.00816.64
7.4.100.0070.01016.51
7.4.90.0110.00816.56
7.4.80.0140.00319.39
7.4.70.0080.00816.72
7.4.60.0040.01316.48
7.4.50.0090.00316.36
7.4.40.0160.00616.64
7.4.00.0080.00814.75
7.3.330.0030.00313.28
7.3.320.0060.00013.17
7.3.310.0000.00716.47
7.3.300.0000.00616.30
7.3.290.0000.00616.28
7.3.280.0060.01016.53
7.3.260.0110.00716.48
7.3.240.0120.00916.45
7.3.230.0070.01416.56
7.3.210.0100.00716.70
7.3.200.0070.01016.36
7.3.190.0100.00616.46
7.3.180.0110.00516.69
7.3.170.0080.00916.43
7.3.160.0100.00716.69
7.2.330.0120.00616.75
7.2.320.0000.01716.51
7.2.310.0090.01516.70
7.2.300.0090.00916.80
7.2.290.0090.01016.67
7.2.110.0110.00316.59
7.2.70.0100.00516.98
7.2.60.0070.00717.05
7.2.50.0110.00317.00
7.2.40.0070.00716.87
7.2.30.0040.01516.82
7.2.20.0090.00917.05
7.2.10.0110.00717.00
7.2.00.0040.01016.73
7.1.200.0060.00615.93
7.1.170.0060.00615.78
7.1.160.0100.00615.68
7.1.150.0060.00615.60
7.1.140.0040.01215.82
7.1.130.0030.01315.93
7.1.120.0060.01015.94
7.1.110.0000.01715.71
7.1.100.0130.00315.77
7.1.90.0090.00915.89
7.1.80.0000.01715.91
7.1.70.0050.00815.96
7.1.60.0260.01033.74
7.1.50.0240.00933.50
7.1.40.0240.00933.52
7.1.30.0250.01833.78
7.1.20.0280.00633.90
7.1.10.0000.01315.93
7.1.00.0030.01315.97

preferences:
52.61 ms | 401 KiB | 5 Q