3v4l.org

run code in 300+ PHP versions simultaneously
<?php $TZ= timezone_open( "UTC" ); $refdate=date_create_from_format ( "z Y" ,"31 2020" ,$TZ ); echo date_format($refdate,"d/m/Y"), PHP_EOL; $refdate=date_create_from_format ( "z Y" ,"60 2020" ,$TZ ); echo date_format($refdate,"d/m/Y"), PHP_EOL; $refdate=date_create_from_format ( "z Y" ,"91 2020" ,$TZ ); echo date_format($refdate,"d/m/Y"), PHP_EOL; $refdate=date_create_from_format ( "z Y" ,"121 2020" ,$TZ ); echo date_format($refdate,"d/m/Y"), PHP_EOL; $refdate=date_create_from_format ( "z Y" ,"130 2020" ,$TZ ); echo date_format($refdate,"d/m/Y"), 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.60.0170.00316.63
8.3.50.0120.00916.33
8.3.40.0060.01218.71
8.3.30.0140.00018.79
8.3.20.0050.00324.18
8.3.10.0000.00824.66
8.3.00.0070.00026.16
8.2.180.0100.01016.88
8.2.170.0150.00422.96
8.2.160.0080.00622.96
8.2.150.0020.00525.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00719.83
8.2.110.0060.00320.56
8.2.100.0090.00317.84
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0070.00317.63
8.2.60.0030.00517.80
8.2.50.0040.00418.07
8.2.40.0000.00818.03
8.2.30.0040.00418.02
8.2.20.0090.00017.96
8.2.10.0040.00419.14
8.2.00.0000.00719.13
8.1.280.0100.00725.92
8.1.270.0080.00023.99
8.1.260.0070.00326.35
8.1.250.0060.00328.09
8.1.240.0030.00623.66
8.1.230.0070.00321.01
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0060.00317.35
8.1.190.0070.00317.23
8.1.180.0000.00918.10
8.1.170.0080.00018.52
8.1.160.0070.00018.76
8.1.150.0000.00718.88
8.1.140.0000.00718.85
8.1.130.0000.00717.42
8.1.120.0000.00817.38
8.1.110.0050.00317.48
8.1.100.0040.00417.47
8.1.90.0070.00017.51
8.1.80.0000.00717.36
8.1.70.0030.00317.35
8.1.60.0070.00317.51
8.1.50.0050.00217.53
8.1.40.0040.00417.49
8.1.30.0000.00917.63
8.1.20.0080.00017.55
8.1.10.0080.00017.57
8.1.00.0000.01117.41
8.0.300.0000.00718.77
8.0.290.0000.00816.88
8.0.280.0070.00018.31
8.0.270.0000.00718.15
8.0.260.0030.00316.97
8.0.250.0000.00617.09
8.0.240.0040.00417.14
8.0.230.0080.00017.00
8.0.220.0030.00317.04
8.0.210.0030.00316.95
8.0.200.0050.00316.98
8.0.190.0030.00517.05
8.0.180.0030.00617.04
8.0.170.0080.00017.04
8.0.160.0070.00017.03
8.0.150.0080.00016.92
8.0.140.0040.00717.00
8.0.130.0050.00013.53
8.0.120.0070.00016.89
8.0.110.0000.00717.04
8.0.100.0040.00417.05
8.0.90.0040.00416.98
8.0.80.0090.00516.94
8.0.70.0040.00416.84
8.0.60.0040.00416.88
8.0.50.0040.00416.79
8.0.30.0110.00717.11
8.0.20.0140.01117.05
8.0.10.0020.00517.04
8.0.00.0100.00716.88
7.4.330.0000.00515.55
7.4.320.0000.00616.56
7.4.300.0000.00816.60
7.4.290.0000.00716.37
7.4.280.0030.00516.58
7.4.270.0100.00016.46
7.4.260.0050.00013.33
7.4.250.0040.00416.42
7.4.240.0030.00316.41
7.4.230.0000.00716.34
7.4.220.0050.00216.64
7.4.210.0080.00816.44
7.4.200.0040.00416.39
7.4.130.0120.00516.61
7.4.120.0140.00716.52
7.4.110.0270.00716.56
7.4.100.0030.01416.54
7.4.90.0120.00616.68
7.4.80.0060.01619.39
7.4.70.0130.00916.42
7.4.60.0120.00916.49
7.4.50.0100.00916.41
7.4.40.0100.01016.40
7.4.30.0100.01016.36
7.4.20.0110.01016.39
7.4.10.0120.00716.33
7.4.00.0110.00816.50
7.3.330.0030.00316.20
7.3.320.0000.00513.07
7.3.310.0030.00316.28
7.3.300.0040.00416.20
7.3.290.0070.00616.32
7.3.260.0130.00916.43
7.3.240.0090.00816.36
7.3.230.0120.00616.31
7.3.210.0090.00916.36
7.3.200.0060.01016.34
7.3.190.0100.00716.39
7.3.180.0100.01016.31
7.3.170.0110.00816.36
7.3.160.0090.01016.31
7.3.150.0110.00916.32
7.3.140.0140.00716.34
7.3.130.0110.00616.39
7.3.120.0120.01016.29
7.3.110.0120.00916.22
7.3.100.0120.01016.32
7.3.90.0090.01116.29
7.3.80.0110.01016.32
7.3.70.0100.01016.29
7.3.60.0110.00816.33
7.3.50.0100.00816.29
7.3.40.0090.01016.23
7.3.30.0100.01016.30
7.3.20.0090.01116.27
7.3.10.0120.00916.16
7.3.00.0150.00916.25
7.2.330.0070.01016.55
7.2.310.0110.01016.47
7.2.300.0130.00916.45
7.2.290.0110.00916.44
7.2.280.0120.00816.52
7.2.270.0090.01116.46
7.2.260.0130.00816.46
7.2.250.0100.00816.41
7.2.240.0150.00816.46
7.2.230.0080.01416.53
7.2.220.0150.00916.65
7.2.210.0100.01016.56
7.2.200.0100.01116.48
7.2.190.0120.01116.48
7.2.180.0120.00816.52
7.2.170.0110.01016.52
7.2.160.0100.00916.51
7.2.150.0190.01016.57
7.2.140.0210.01116.55
7.2.130.0120.01116.50
7.2.120.0110.00916.47
7.2.110.0100.01016.59
7.2.100.0110.01116.47
7.2.90.0110.01116.45
7.2.80.0120.00916.43
7.2.70.0140.00816.49
7.2.60.0170.01216.40
7.2.50.0120.01116.51
7.2.40.0110.00916.43
7.2.30.0120.01016.52
7.2.20.0210.00916.58
7.2.10.0200.00916.49
7.2.00.0120.00816.45

preferences:
62.05 ms | 400 KiB | 5 Q