3v4l.org

run code in 300+ PHP versions simultaneously
<?php function format($timezone) { $d = new \DateTime('now', new \DateTimeZone($timezone)); return $d->format('Y-m-d H:i:s.u ' . $d->getTimeZone()->getLocation() ? 'e (P)' : 'P'); } echo format('Europe/Paris') . PHP_EOL; echo format('UTC') . PHP_EOL; echo format('+02:00') . PHP_EOL; echo format('GMT+2') . PHP_EOL;

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.0140.00717.00
8.3.60.0130.00316.98
8.3.50.0130.00921.97
8.3.40.0040.01118.94
8.3.30.0120.00319.02
8.3.20.0040.00420.41
8.3.10.0020.00521.95
8.3.00.0060.00319.51
8.2.190.0090.00616.63
8.2.180.0070.00717.13
8.2.170.0000.01422.96
8.2.160.0130.00319.46
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0070.00020.56
8.2.120.0040.00426.35
8.2.110.0090.00021.04
8.2.100.0110.00018.21
8.2.90.0050.00219.17
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0040.00417.80
8.2.50.0030.00618.10
8.2.40.0050.00320.60
8.2.30.0080.00019.40
8.2.20.0040.00418.06
8.2.10.0040.00418.20
8.2.00.0000.00718.39
8.1.280.0110.00325.92
8.1.270.0080.00023.88
8.1.260.0050.00326.35
8.1.250.0080.00028.09
8.1.240.0000.00823.79
8.1.230.0040.00719.08
8.1.220.0030.00517.76
8.1.210.0040.00418.77
8.1.200.0040.00717.47
8.1.190.0000.00817.60
8.1.180.0050.00318.10
8.1.170.0040.00418.65
8.1.160.0080.00018.96
8.1.150.0070.00020.14
8.1.140.0040.00419.53
8.1.130.0000.00719.09
8.1.120.0000.00717.63
8.1.110.0080.00017.71
8.1.100.0000.00817.64
8.1.90.0040.00417.55
8.1.80.0040.00417.55
8.1.70.0000.00817.61
8.1.60.0040.00417.74
8.1.50.0040.00417.65
8.1.40.0060.00317.61
8.1.30.0080.00017.76
8.1.20.0070.00317.69
8.1.10.0040.00417.65
8.1.00.0060.00617.57
8.0.300.0040.00418.77
8.0.290.0040.00416.73
8.0.280.0030.00318.57
8.0.270.0050.00317.36
8.0.260.0000.00819.04
8.0.250.0070.00017.25
8.0.240.0040.00417.25
8.0.230.0070.00017.13
8.0.220.0030.00317.20
8.0.210.0030.00317.23
8.0.200.0060.00017.27
8.0.190.0080.00017.27
8.0.180.0080.00017.21
8.0.170.0040.00417.22
8.0.160.0040.00417.19
8.0.150.0040.00417.18
8.0.140.0040.00417.14
8.0.130.0000.00513.53
8.0.120.0040.00417.15
8.0.110.0000.00717.11
8.0.100.0070.00017.10
8.0.90.0040.00417.15
8.0.80.0070.01017.21
8.0.70.0000.00717.04
8.0.60.0040.00416.99
8.0.50.0000.00716.94
8.0.30.0090.01217.20
8.0.20.0080.01217.45
8.0.10.0000.00817.03
8.0.00.0100.00717.10
7.4.330.0000.00515.55
7.4.320.0030.00316.63
7.4.300.0000.00616.75
7.4.290.0030.00316.74
7.4.280.0000.00916.75
7.4.270.0070.00016.76
7.4.260.0040.00416.59
7.4.250.0000.00716.64
7.4.240.0000.00716.67
7.4.230.0070.00016.68
7.4.220.0030.01416.76
7.4.210.0130.00316.79
7.4.200.0030.00316.65
7.4.160.0070.00916.78
7.4.150.0130.00317.40
7.4.140.0110.01417.86
7.4.130.0150.01116.86
7.4.120.0090.01016.73
7.4.110.0110.00716.79
7.4.100.0040.01316.70
7.4.90.0100.00716.65
7.4.80.0180.00619.39
7.4.70.0060.01716.77
7.4.60.0090.00916.82
7.4.50.0070.01016.32
7.4.40.0100.01016.71
7.4.30.0070.01016.59
7.4.00.0070.01115.07
7.3.330.0060.00013.23
7.3.320.0000.00513.50
7.3.310.0040.00416.39
7.3.300.0030.00316.37
7.3.290.0070.00816.49
7.3.280.0090.01016.48
7.3.270.0060.01217.40
7.3.260.0120.01116.60
7.3.240.0090.00816.58
7.3.230.0080.00816.60
7.3.210.0070.01016.59
7.3.200.0160.00016.71
7.3.190.0130.00916.63
7.3.180.0030.01316.72
7.3.170.0110.00616.68
7.3.160.0070.01016.60
7.2.330.0060.01217.02
7.2.320.0180.00616.63
7.2.310.0090.00616.99
7.2.300.0100.00716.93
7.2.290.0070.01116.89
7.2.60.0070.00717.01
7.1.200.0000.01216.00
7.1.70.0040.00717.23
7.1.60.0030.00717.07
7.1.50.0190.00635.00
7.1.40.0100.01734.70
7.1.30.0170.01034.57
7.1.20.0130.01334.48
7.1.10.0030.01016.55
7.1.00.0070.01016.75
7.0.200.0060.00316.96
7.0.180.0000.01316.38
7.0.170.0070.00316.20
7.0.160.0070.00316.29
7.0.150.0100.00316.43
7.0.140.0070.00716.44
7.0.130.0000.01016.49
7.0.120.0000.01016.54
7.0.110.0000.01316.47
7.0.100.0030.01016.34
7.0.90.0000.01016.25
7.0.80.0000.01016.40
7.0.70.0000.01016.16
7.0.60.0000.01016.31
7.0.50.0070.01016.52
7.0.40.0000.01016.48
7.0.30.0070.00716.64
7.0.20.0070.00316.39
7.0.10.0030.00716.34
7.0.00.0000.01316.45

preferences:
29.91 ms | 401 KiB | 5 Q