3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = new DateTime('now', new Datetimezone('Europe/Kiev')); echo $time->format('c') . "\n"; $timestamp = $time->setTimezone(new DateTimezone('UTC'))->format('U'); echo $timestamp . "\n"; echo (new DateTime('@' . $timestamp, new DateTimezone('Europe/Kiev')))->format('c') . "\n"; echo (new DateTime('@' . $timestamp, new DateTimezone('Europe/Moscow')))->format('c') . "\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.0110.00716.75
8.3.50.0140.00718.05
8.3.40.0140.00318.79
8.3.30.0190.00019.02
8.3.20.0040.00419.97
8.3.10.0040.00420.68
8.3.00.0000.00820.77
8.2.180.0150.00618.66
8.2.170.0140.00722.96
8.2.160.0110.00419.18
8.2.150.0140.00324.18
8.2.140.0070.00024.66
8.2.130.0000.00919.27
8.2.120.0070.00026.35
8.2.110.0060.00320.29
8.2.100.0080.00417.84
8.2.90.0080.00019.34
8.2.80.0080.00017.97
8.2.70.0060.00317.50
8.2.60.0000.00917.93
8.2.50.0040.00418.10
8.2.40.0030.00720.30
8.2.30.0040.00422.44
8.2.20.0040.00417.99
8.2.10.0000.00718.11
8.2.00.0000.00818.30
8.1.280.0120.00325.92
8.1.270.0030.00623.97
8.1.260.0040.00428.09
8.1.250.0030.00628.09
8.1.240.0000.01123.80
8.1.230.0090.00320.97
8.1.220.0050.00317.79
8.1.210.0040.00418.77
8.1.200.0060.00317.60
8.1.190.0000.00817.47
8.1.180.0000.00818.10
8.1.170.0000.00818.76
8.1.160.0000.00720.98
8.1.150.0000.00818.84
8.1.140.0000.00819.50
8.1.130.0000.00717.79
8.1.120.0000.00817.65
8.1.110.0000.00717.55
8.1.100.0050.00217.70
8.1.90.0080.00017.67
8.1.80.0040.00417.71
8.1.70.0030.00317.54
8.1.60.0040.00417.76
8.1.50.0030.00617.65
8.1.40.0030.01017.70
8.1.30.0040.00417.72
8.1.20.0080.00017.78
8.1.10.0000.00817.62
8.1.00.0040.00417.69
8.0.300.0040.00418.77
8.0.290.0060.00317.00
8.0.280.0050.00218.59
8.0.270.0000.00717.42
8.0.260.0000.00717.30
8.0.250.0030.00317.16
8.0.240.0030.00317.23
8.0.230.0000.00717.17
8.0.220.0000.00817.21
8.0.210.0040.00417.16
8.0.200.0030.00317.17
8.0.190.0040.00417.29
8.0.180.0050.00217.17
8.0.170.0040.00417.14
8.0.160.0050.00317.16
8.0.150.0000.00717.01
8.0.140.0000.00717.03
8.0.130.0030.00313.58
8.0.120.0080.00017.01
8.0.110.0040.00417.00
8.0.100.0030.00517.22
8.0.90.0000.00817.15
8.0.80.0040.01417.12
8.0.70.0040.00416.99
8.0.60.0070.00017.16
8.0.50.0080.00017.22
8.0.30.0120.00817.13
8.0.20.0170.00717.40
8.0.10.0040.00417.06
8.0.00.0050.01316.94
7.4.330.0020.00215.08
7.4.320.0000.00616.72
7.4.300.0000.00716.59
7.4.290.0000.00716.57
7.4.280.0040.00416.71
7.4.270.0030.00316.59
7.4.260.0030.00316.68
7.4.250.0050.00316.59
7.4.240.0000.00816.72
7.4.230.0030.00316.41
7.4.220.0130.00716.47
7.4.210.0050.00816.71
7.4.200.0000.00716.81
7.4.160.0040.01216.57
7.4.150.0060.01217.40
7.4.140.0070.01317.86
7.4.130.0100.00916.64
7.4.120.0110.00716.72
7.4.110.0060.01216.65
7.4.100.0110.00816.64
7.4.90.0060.01516.71
7.4.80.0090.00919.39
7.4.70.0060.01516.81
7.4.60.0070.00816.66
7.4.50.0000.01416.36
7.4.40.0150.00916.75
7.4.30.0070.01516.92
7.4.00.0080.00915.06
7.3.330.0030.00213.23
7.3.320.0060.00013.23
7.3.310.0030.00316.48
7.3.300.0000.00716.50
7.3.290.0110.00616.49
7.3.280.0110.00616.49
7.3.270.0000.01717.40
7.3.260.0110.00716.79
7.3.250.0070.01016.65
7.3.240.0130.00816.50
7.3.230.0060.01116.69
7.3.210.0140.00316.80
7.3.200.0190.00016.78
7.3.190.0070.01016.78
7.3.180.0040.01516.68
7.3.170.0060.01216.59
7.3.160.0130.00316.53
7.3.120.0060.00914.91
7.3.110.0030.00914.89
7.3.100.0030.01214.84
7.3.90.0060.01215.19
7.3.80.0110.00614.83
7.3.70.0070.00315.23
7.3.60.0070.00714.75
7.3.50.0060.00615.12
7.3.40.0100.00314.77
7.3.30.0060.00914.96
7.3.20.0040.01116.91
7.3.10.0080.00616.84
7.3.00.0040.01316.71
7.2.330.0120.00916.70
7.2.320.0070.01116.69
7.2.310.0110.00717.02
7.2.300.0070.01716.77
7.2.290.0090.00916.79
7.2.250.0090.00915.21
7.2.240.0100.01015.37
7.2.230.0030.01015.59
7.2.220.0030.01015.36
7.2.210.0060.00915.30
7.2.200.0060.00314.87
7.2.190.0060.00915.24
7.2.180.0000.01115.03
7.2.170.0080.00415.04
7.2.130.0070.01017.18
7.2.120.0150.00016.98
7.2.110.0090.00516.85
7.2.100.0040.00817.13
7.2.90.0170.00017.24
7.2.80.0070.00717.15
7.2.70.0080.00617.24
7.2.60.0070.00617.00
7.2.50.0100.00717.04
7.2.40.0120.00417.12
7.2.30.0040.01217.15
7.2.20.0090.00317.04
7.2.10.0000.00917.36
7.2.00.0060.00617.36
7.1.330.0070.00715.87
7.1.320.0030.01015.60
7.1.310.0000.01215.75
7.1.300.0060.00915.90
7.1.290.0030.01015.85
7.1.280.0110.00015.97
7.1.270.0030.01215.96
7.1.260.0080.00615.77
7.1.250.0070.00815.84
7.1.200.0040.00815.82
7.1.100.0040.00818.03
7.1.70.0000.00717.50
7.1.60.0090.01519.48
7.1.50.0040.01817.18
7.1.00.0100.07022.40
7.0.200.0070.00017.08
7.0.60.0370.07019.93
7.0.50.0000.06317.89
7.0.40.0630.07320.43
7.0.30.0170.07020.14
7.0.20.0130.07020.14
7.0.10.0270.07720.16
7.0.00.0170.06320.21
5.6.280.0030.07721.07
5.6.210.0100.03720.54
5.6.200.0030.09018.19
5.6.190.0570.08020.48
5.6.180.0270.08320.80
5.6.170.0200.05720.39
5.6.160.0270.05320.52
5.6.150.0270.06720.51
5.6.140.0330.06020.38
5.6.130.0170.06320.43
5.6.120.0430.06020.40
5.6.110.0230.08720.12
5.6.100.0370.05320.10
5.6.90.0270.07320.39
5.6.80.0170.06019.77
5.6.70.0200.06319.45
5.6.60.0200.05719.88
5.6.50.0230.05719.88
5.6.40.0130.05719.82
5.6.30.0130.05719.71
5.6.20.0130.06319.65
5.6.10.0570.04719.78
5.6.00.0630.06019.65
5.5.350.0070.08320.41
5.5.340.0070.06718.01
5.5.330.0430.08320.43
5.5.320.0230.05720.29
5.5.310.0170.06320.49
5.5.300.0330.06320.32
5.5.290.0200.06020.13
5.5.280.0330.06720.18
5.5.270.0230.08019.92
5.5.260.0270.07020.18
5.5.250.0300.08020.01
5.5.240.0130.06719.71
5.5.230.0300.07319.67
5.5.220.0330.05719.58
5.5.210.0270.05319.56
5.5.200.0170.05019.53
5.5.190.0100.06719.56
5.5.180.0130.06019.65
5.5.160.0600.05319.32
5.5.150.0430.09319.58
5.5.140.0530.04719.65
5.5.130.0670.04319.62
5.5.120.0700.06319.58
5.5.110.0400.06019.44
5.5.100.0470.05719.22
5.5.90.0470.05719.48
5.5.80.0370.06019.45
5.5.70.0630.07319.54
5.5.60.0370.05719.52
5.5.50.0530.03719.55
5.5.40.0530.05019.52
5.5.30.0500.05719.21
5.5.20.0370.06719.53
5.5.10.0530.05019.60
5.5.00.0100.05719.23

preferences:
54.96 ms | 401 KiB | 5 Q