3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_TIME, 'fr_FR'); $dateString = '2020-08-08'; $timestamp = strtotime($dateString); $formattedDate = strftime('%d %B %Y', $timestamp); //setlocale(LC_ALL, Locale::getDefault()); // restore (if neccessary) echo utf8_encode($formattedDate);

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.0070.00717.25
8.3.50.0070.00718.54
8.3.40.0090.00619.29
8.3.30.0120.00319.28
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0070.00326.16
8.2.180.0170.00325.92
8.2.170.0140.00719.59
8.2.160.0110.00422.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0080.00026.16
8.2.120.0040.00426.35
8.2.110.0060.00321.42
8.2.100.0110.01118.09
8.2.90.0050.00318.34
8.2.80.0080.00019.52
8.2.70.0030.00618.42
8.2.60.0050.00318.59
8.2.50.0040.00418.05
8.2.40.0000.00718.66
8.2.30.0000.00718.45
8.2.20.0030.00618.37
8.2.10.0000.00719.63
8.2.00.0070.00019.55
8.1.280.0090.01225.92
8.1.270.0030.00522.43
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0090.00022.54
8.1.230.0130.00021.21
8.1.220.0030.00518.28
8.1.210.0060.00319.16
8.1.200.0060.00317.85
8.1.190.0070.00317.73
8.1.180.0040.00418.10
8.1.170.0030.00519.03
8.1.160.0000.00819.26
8.1.150.0070.00019.37
8.1.140.0040.00419.26
8.1.130.0000.00720.40
8.1.120.0040.00417.87
8.1.110.0040.00417.85
8.1.100.0040.00417.94
8.1.90.0030.00717.77
8.1.80.0000.00717.78
8.1.70.0040.00417.88
8.1.60.0040.00417.93
8.1.50.0000.00817.90
8.1.40.0040.00417.90
8.1.30.0080.00017.96
8.1.20.0040.00417.98
8.1.10.0060.00318.05
8.1.00.0090.00517.89
8.0.300.0100.00020.50
8.0.290.0090.00017.25
8.0.280.0040.00220.50
8.0.270.0070.00018.64
8.0.260.0060.00020.63
8.0.250.0030.00317.60
8.0.240.0000.00717.60
8.0.230.0030.00317.34
8.0.220.0070.00017.20
8.0.210.0000.00717.32
8.0.200.0070.00017.43
8.0.190.0040.00417.41
8.0.180.0080.00017.42
8.0.170.0030.00517.41
8.0.160.0000.00817.40
8.0.150.0040.00417.27
8.0.140.0050.00317.19
8.0.130.0030.00313.62
8.0.120.0000.00817.34
8.0.110.0040.00417.38
8.0.100.0000.00817.37
8.0.90.0040.00417.21
8.0.80.0100.00417.35
8.0.70.0000.00717.37
8.0.60.0000.00717.34
8.0.50.0030.00517.25
8.0.30.0000.01717.43
8.0.20.0110.00717.46
8.0.10.0040.00417.36
8.0.00.0140.00617.11
7.4.330.0000.00415.55
7.4.320.0000.00616.98
7.4.300.0090.00016.98
7.4.290.0040.00417.03
7.4.280.0060.00616.95
7.4.270.0070.00016.90
7.4.260.0060.00516.89
7.4.250.0070.00016.86
7.4.240.0000.00717.02
7.4.230.0000.00816.88
7.4.220.0070.00016.90
7.4.210.0080.00716.93
7.4.200.0030.00316.71
7.4.130.0100.00716.85
7.4.120.0190.00916.94
7.4.110.0000.01716.86
7.4.100.0100.00716.87
7.4.90.0130.00516.94
7.4.80.0080.01116.59
7.4.70.0040.00816.82
7.4.60.0070.01117.10
7.4.50.0080.00817.10
7.4.40.0220.00016.88
7.4.30.0090.00916.90
7.4.20.0110.00816.88
7.4.10.0060.00916.97
7.4.00.0100.00717.05
7.3.330.0000.00716.69
7.3.320.0030.00313.55
7.3.310.0070.00016.57
7.3.300.0000.00716.48
7.3.290.0070.00816.55
7.3.260.0140.00716.92
7.3.230.0160.00016.61
7.3.210.0090.00916.80
7.3.200.0070.01016.78
7.3.190.0130.00616.81
7.3.180.0110.00716.76
7.3.170.0160.00616.73
7.3.160.0030.01216.99
7.3.150.0070.01016.49
7.3.140.0070.01016.63
7.3.130.0140.00316.63
7.3.120.0120.00616.61
7.3.110.0080.01116.54
7.3.100.0130.00616.56
7.3.90.0110.00616.82
7.3.80.0130.00616.55
7.3.70.0080.00816.69
7.3.60.0110.00616.95
7.3.50.0110.00616.83
7.3.40.0070.01016.70
7.3.30.0150.00416.73
7.3.20.0090.01416.92
7.3.10.0070.01016.64
7.3.00.0130.00616.70
7.2.330.0090.00916.81
7.2.320.0130.00317.36
7.2.310.0130.00316.89
7.2.300.0120.01216.93
7.2.290.0130.00317.28
7.2.280.0060.01116.95
7.2.270.0030.01317.10
7.2.260.0130.00517.04
7.2.250.0100.00716.87
7.2.240.0060.01116.96
7.2.230.0070.01016.79
7.2.220.0090.00916.86
7.2.210.0050.01016.71
7.2.200.0090.00916.94
7.2.190.0130.00316.91
7.2.180.0110.00616.70
7.2.170.0120.00616.88
7.2.160.0120.00616.90
7.2.150.0070.01116.94
7.2.140.0030.01317.08
7.2.130.0100.00917.14
7.2.120.0210.00317.00
7.2.110.0150.00216.96
7.2.100.0090.00916.88
7.2.90.0060.01217.03
7.2.80.0050.01116.92
7.2.70.0110.00816.84
7.2.60.0110.00716.94
7.2.50.0110.00817.11
7.2.40.0140.00817.01
7.2.30.0110.01217.00
7.2.20.0320.01517.01
7.2.10.0180.00617.09
7.2.00.0130.01016.87

preferences:
31.78 ms | 400 KiB | 5 Q