3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new \DateTime(); $russian = new\DateTimeZone('Europe/Moscow'); $now->setTimezone($russian); $fmt = new IntlDateFormatter( 'en-US', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'Europe/Moscow', IntlDateFormatter::GREGORIAN ); echo $now->format('Y-m-d H:i:s'); echo $fmt->format($now);

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.00318.56
8.3.50.0120.00618.36
8.3.40.0130.00718.96
8.3.30.0150.00318.80
8.3.20.0070.00019.29
8.3.10.0070.00021.85
8.3.00.0000.00920.57
8.2.180.0090.00618.79
8.2.170.0100.00722.96
8.2.160.0000.01420.27
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00419.77
8.2.120.0040.00426.35
8.2.110.0060.00319.30
8.2.100.0040.00817.93
8.2.90.0000.00919.17
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0000.00917.93
8.2.50.0080.00018.10
8.2.40.0060.00322.28
8.2.30.0000.00719.08
8.2.20.0000.00717.75
8.2.10.0040.00418.06
8.2.00.0070.00017.96
8.1.280.0090.00925.92
8.1.270.0000.00823.91
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0090.00022.46
8.1.230.0060.00617.76
8.1.220.0040.00717.74
8.1.210.0000.01018.77
8.1.200.0060.00317.60
8.1.190.0040.00417.47
8.1.180.0040.00418.10
8.1.170.0000.00718.90
8.1.160.0040.00419.00
8.1.150.0050.00318.78
8.1.140.0070.00019.51
8.1.130.0030.00617.59
8.1.120.0040.00417.65
8.1.110.0080.00017.64
8.1.100.0030.00517.64
8.1.90.0000.00817.54
8.1.80.0000.00717.57
8.1.70.0030.00517.62
8.1.60.0080.00017.54
8.1.50.0000.00917.68
8.1.40.0040.00417.54
8.1.30.0080.00017.71
8.1.20.0040.00417.77
8.1.10.0000.00817.76
8.1.00.0000.00817.72
8.0.300.0000.00718.77
8.0.290.0040.00417.00
8.0.280.0000.00718.44
8.0.270.0000.00717.19
8.0.260.0000.00717.24
8.0.250.0080.00017.05
8.0.240.0020.00517.23
8.0.230.0050.00217.07
8.0.220.0040.00416.97
8.0.210.0070.00017.06
8.0.200.0080.00017.11
8.0.190.0040.00417.07
8.0.180.0080.00417.10
8.0.170.0000.00717.13
8.0.160.0040.00417.14
8.0.150.0030.00317.04
8.0.140.0070.00017.05
8.0.130.0060.00013.41
8.0.120.0100.00016.96
8.0.110.0000.00817.12
8.0.100.0000.00716.87
8.0.90.0040.00316.96
8.0.80.0150.00017.13
8.0.70.0040.00416.94
8.0.60.0000.00817.14
8.0.50.0040.00417.08
8.0.30.0120.00717.23
8.0.20.0130.01717.40
8.0.10.0070.00017.28
8.0.00.0090.00916.82
7.4.330.0050.00015.08
7.4.320.0000.00820.39
7.4.300.0000.00720.15
7.4.290.0030.00620.46
7.4.280.0060.00320.43
7.4.270.0060.00320.50
7.4.260.0030.00620.32
7.4.250.0030.00520.43
7.4.240.0050.00320.32
7.4.230.0050.00320.31
7.4.220.0110.01120.54
7.4.210.0100.00920.39
7.4.200.0000.00920.25
7.4.160.0100.00720.19
7.4.150.0060.01620.05
7.4.140.0120.01420.49
7.4.130.0130.00820.30
7.4.120.0080.01220.36
7.4.110.0060.01220.43
7.4.100.0150.00820.55
7.4.90.0080.01120.36
7.4.80.0130.00620.28
7.4.70.0130.00420.43
7.4.60.0120.00820.34
7.4.50.0130.00320.39
7.4.40.0030.01620.49
7.4.30.0060.01520.18
7.4.00.0090.00618.73
7.3.330.0000.00613.26
7.3.320.0060.00013.20
7.3.310.0030.00619.70
7.3.300.0000.01019.85
7.3.290.0050.00320.12
7.3.280.0140.01019.86
7.3.270.0130.00720.21
7.3.260.0090.01420.18
7.3.250.0140.00820.35
7.3.240.0110.01020.47
7.3.230.0000.01820.04
7.3.210.0050.01520.18
7.3.200.0090.00920.41
7.3.190.0070.01119.83
7.3.180.0030.01420.37
7.3.170.0030.01620.29
7.3.160.0120.01420.36
7.3.120.0120.00618.43
7.3.110.0040.01518.22
7.3.100.0130.00718.55
7.3.90.0040.00718.19
7.3.80.0080.00718.30
7.3.70.0030.00818.30
7.3.60.0090.00618.25
7.3.50.0070.00718.56
7.3.40.0030.00918.24
7.3.30.0120.00418.58
7.3.20.0060.00620.32
7.3.10.0030.01119.91
7.3.00.0060.00820.13
7.2.330.0100.01020.30
7.2.320.0070.01620.09
7.2.310.0070.01520.19
7.2.300.0060.01220.04
7.2.290.0090.00920.23
7.2.250.0100.01018.79
7.2.240.0140.00718.75
7.2.230.0120.00418.34
7.2.220.0140.00318.68
7.2.210.0070.00718.34
7.2.200.0000.01818.49
7.2.190.0070.01018.65
7.2.180.0060.00918.76
7.2.170.0000.01618.72
7.2.160.0090.00618.67
7.2.150.0070.01020.19
7.2.140.0030.01120.43
7.2.130.0090.00620.51
7.2.120.0040.00620.41
7.2.110.0070.00820.46
7.2.100.0100.00520.29
7.2.90.0010.01020.77
7.2.80.0090.00520.54
7.2.70.0050.00920.66
7.2.60.0070.01120.65
7.2.50.0070.00820.42
7.2.40.0050.00720.47
7.2.30.0010.01120.54
7.2.20.0040.01020.62
7.2.10.0020.01120.60
7.2.00.0060.01221.55
7.1.330.0140.00719.77
7.1.320.0000.01719.60
7.1.310.0000.01019.15
7.1.300.0090.00619.53
7.1.290.0060.00919.57
7.1.280.0060.00619.45
7.1.270.0140.00319.52
7.1.260.0000.01419.48
7.1.250.0020.00819.63
7.1.240.0000.01119.74
7.1.230.0060.01019.79
7.1.220.0040.01119.50
7.1.210.0060.00619.45
7.1.200.0080.01019.63
7.1.190.0060.00619.43
7.1.180.0060.00619.64
7.1.170.0040.01119.39
7.1.160.0030.01219.68
7.1.150.0060.00619.60
7.1.140.0130.00719.67
7.1.130.0090.00919.63
7.1.120.0030.01019.57
7.1.110.0130.00319.54
7.1.100.0130.00319.31
7.1.90.0060.00919.55
7.1.80.0120.00319.33
7.1.70.0020.01420.46
7.1.60.0050.00920.29
7.1.50.0110.00820.26
7.1.40.0100.00619.63
7.1.30.0070.01019.62
7.1.20.0060.01019.36
7.1.10.0000.01519.71
7.1.00.0080.04222.90
7.0.330.0090.00619.21
7.0.320.0000.01919.19
7.0.310.0000.01419.30
7.0.300.0060.00619.42
7.0.290.0070.00719.33
7.0.280.0060.00619.24
7.0.270.0030.01019.30
7.0.260.0120.00319.19
7.0.250.0030.01019.24
7.0.240.0040.01119.34
7.0.230.0060.00919.14
7.0.220.0070.00319.22
7.0.210.0000.01519.43
7.0.200.0090.00520.01
7.0.190.0070.00719.32
7.0.180.0040.01219.26
7.0.170.0090.00619.29
7.0.160.0030.01319.17
7.0.150.0080.00319.33
7.0.140.0030.01219.29
7.0.130.0040.01119.07
7.0.120.0000.01419.34
7.0.110.0090.00619.14
7.0.100.0090.00919.32
7.0.90.0000.01519.04
7.0.80.0070.00719.04
7.0.70.0090.00318.99
7.0.60.0530.00521.51
7.0.50.0400.00821.58
7.0.40.0420.00920.47
7.0.30.0460.00420.39
7.0.20.0480.00220.45
7.0.10.0430.00320.44
7.0.00.0450.00520.55
5.6.400.0070.00718.18
5.6.390.0030.01017.91
5.6.380.0070.01318.12
5.6.370.0060.00617.97
5.6.360.0070.00318.12
5.6.350.0040.01118.14
5.6.340.0040.01217.93
5.6.330.0080.00417.83
5.6.320.0040.01118.13
5.6.310.0060.01117.96
5.6.300.0000.01618.29
5.6.290.0090.00618.25
5.6.280.0030.04421.15
5.6.270.0090.00618.41
5.6.260.0130.00318.07
5.6.250.0030.01017.74
5.6.240.0060.00918.15
5.6.230.0120.00018.08
5.6.220.0040.01118.25
5.6.210.0470.00521.29
5.6.200.0510.00621.38
5.6.190.0470.00521.33
5.6.180.0570.00421.41
5.6.170.0400.00621.35
5.6.160.0450.00421.32
5.6.150.0430.00821.56
5.6.140.0490.00421.31
5.6.130.0470.00421.38
5.6.120.0450.00421.20
5.6.110.0420.00621.35
5.6.100.0420.00521.38
5.6.90.0460.00321.41
5.6.80.0430.00521.00
5.6.70.0450.00520.90
5.6.60.0430.00520.97
5.6.50.0370.00320.96
5.6.40.0450.00321.07
5.6.30.0380.00520.89
5.6.20.0420.00420.97
5.6.10.0580.00320.81
5.6.00.0460.00220.84
5.5.380.0030.01317.95
5.5.370.0060.00618.02
5.5.360.0120.00618.21
5.5.350.0400.00521.30
5.5.340.0480.00421.17
5.5.330.0400.00921.30
5.5.320.0370.00621.19
5.5.310.0440.00121.28
5.5.300.0400.00521.16
5.5.290.0470.00521.22
5.5.280.0440.00621.20
5.5.270.0470.00520.98
5.5.260.0470.00521.12
5.5.250.0450.00321.10
5.5.240.0470.00220.92
5.5.230.0470.00420.74
5.5.220.0390.00420.71
5.5.210.0350.00520.90
5.5.200.0420.00520.58
5.5.190.0430.00520.89
5.5.180.0470.00321.02
5.5.170.0040.01117.81
5.5.160.0590.00220.76
5.5.150.0400.00620.87
5.5.140.0380.00620.86
5.5.130.0400.00420.67
5.5.120.0550.00521.03
5.5.110.0400.00620.74
5.5.100.0550.00520.80
5.5.90.0440.00420.85
5.5.80.0530.00720.57
5.5.70.0520.00820.62
5.5.60.0580.00720.96
5.5.50.0610.00420.78
5.5.40.0430.00720.74
5.5.30.0430.00320.67
5.5.20.0450.00520.68
5.5.10.0430.00620.92
5.5.00.0400.00620.73

preferences:
63.73 ms | 401 KiB | 5 Q