3v4l.org

run code in 300+ PHP versions simultaneously
<?php function converteData($format, $to_format, $date, $timezone = null) { if (!$timezone) { $timezone = new DateTimeZone(date_default_timezone_get()); } $d = date_create_from_format($format, $date, $timezone); return date_format($d, $to_format); } var_dump(converteData('dmY', 'Y-m-d', '06111992'));

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.0100.01318.68
8.3.50.0140.00917.43
8.3.40.0120.00318.85
8.3.30.0060.00818.76
8.3.20.0040.00418.91
8.3.10.0040.00420.38
8.3.00.0000.00817.63
8.2.180.0110.01116.63
8.2.170.0080.00622.96
8.2.160.0100.00722.21
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0080.00026.16
8.2.120.0050.00220.08
8.2.110.0100.00022.20
8.2.100.0080.00417.91
8.2.90.0040.00419.35
8.2.80.0030.00617.97
8.2.70.0000.00817.75
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0090.00019.95
8.2.30.0040.00418.20
8.2.20.0000.00717.88
8.2.10.0030.00717.75
8.2.00.0070.00017.85
8.1.280.0070.01025.92
8.1.270.0110.00324.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.01022.19
8.1.230.0030.00917.64
8.1.220.0030.00517.79
8.1.210.0040.00418.77
8.1.200.0060.00317.48
8.1.190.0070.00017.51
8.1.180.0000.00818.10
8.1.170.0030.00518.75
8.1.160.0040.00418.90
8.1.150.0000.00718.75
8.1.140.0040.00417.58
8.1.130.0030.00317.90
8.1.120.0020.00517.53
8.1.110.0000.00717.59
8.1.100.0030.00617.61
8.1.90.0000.00717.54
8.1.80.0040.00417.64
8.1.70.0070.00017.49
8.1.60.0040.00417.61
8.1.50.0000.00817.54
8.1.40.0000.00717.59
8.1.30.0040.00417.77
8.1.20.0030.00517.74
8.1.10.0000.00817.57
8.1.00.0000.00817.56
8.0.300.0070.00018.77
8.0.290.0000.00816.88
8.0.280.0030.00318.52
8.0.270.0000.00717.41
8.0.260.0070.00017.03
8.0.250.0000.00817.20
8.0.240.0090.00017.10
8.0.230.0000.00817.00
8.0.220.0000.00716.95
8.0.210.0040.00417.11
8.0.200.0030.00317.08
8.0.190.0040.00417.08
8.0.180.0080.00017.05
8.0.170.0050.00317.14
8.0.160.0050.00217.06
8.0.150.0000.00816.93
8.0.140.0080.00017.11
8.0.130.0050.00013.45
8.0.120.0000.00817.07
8.0.110.0000.00716.92
8.0.100.0040.00417.01
8.0.90.0040.00416.98
8.0.80.0090.00617.08
8.0.70.0070.00017.07
8.0.60.0000.00716.94
8.0.50.0000.00717.10
8.0.30.0090.01217.12
8.0.20.0050.01317.29
8.0.10.0080.00017.16
8.0.00.0050.01416.82
7.4.330.0050.00013.00
7.4.320.0030.00316.69
7.4.300.0000.00616.69
7.4.290.0030.00316.70
7.4.280.0100.00016.70
7.4.270.0000.00716.45
7.4.260.0070.00013.30
7.4.250.0040.00416.67
7.4.240.0000.00716.61
7.4.230.0070.00016.71
7.4.220.0090.00616.54
7.4.210.0070.00916.63
7.4.200.0040.00416.67
7.4.190.0030.00316.72
7.4.160.0090.00916.70
7.4.150.0090.00816.62
7.4.140.0110.00916.62
7.4.130.0110.01016.76
7.4.120.0130.00316.67
7.4.110.0110.00616.61
7.4.100.0090.01216.69
7.4.90.0060.01116.63
7.4.80.0150.00816.77
7.4.70.0060.01716.76
7.4.60.0100.00616.53
7.4.50.0030.00616.56
7.4.40.0080.00816.43
7.4.30.0100.00716.67
7.4.00.0040.00814.99
7.3.330.0030.00313.39
7.3.320.0030.00313.30
7.3.310.0040.00416.26
7.3.300.0070.00016.38
7.3.290.0110.00316.49
7.3.280.0090.00716.45
7.3.270.0120.00616.50
7.3.260.0090.01116.51
7.3.250.0120.00816.46
7.3.240.0100.00616.91
7.3.230.0090.01216.44
7.3.210.0090.00916.50
7.3.200.0090.01219.39
7.3.190.0080.01216.32
7.3.180.0140.00416.50
7.3.170.0050.01116.44
7.3.160.0090.00716.77
7.3.120.0000.01414.93
7.2.330.0150.00916.39
7.2.320.0130.01016.94
7.2.310.0060.01217.05
7.2.300.0140.00316.63
7.2.290.0160.00016.71
7.2.100.1440.00014.77
7.2.90.0150.00914.80
7.2.80.0950.01314.76
7.2.70.0490.00314.86
7.2.60.0140.00715.07
7.2.50.0960.00714.60
7.2.40.0140.00314.88
7.2.30.0150.00414.64
7.2.20.1970.00614.57
7.2.10.2120.00614.98
7.2.00.0280.00415.09
7.1.220.1040.00613.89
7.1.210.0220.00613.94
7.1.200.1580.00713.66
7.1.190.0870.01013.84
7.1.180.1220.01014.04
7.1.170.1630.00713.95
7.1.160.0240.00313.76
7.1.150.0200.00314.13
7.1.140.2230.00713.94
7.1.130.2100.01014.03
7.1.120.0190.00614.14
7.1.110.2200.00613.79
7.1.100.1890.01413.93
7.1.90.1010.01013.72
7.1.80.0170.00313.79
7.1.70.0070.01413.80
7.1.60.0290.00631.99
7.1.50.0280.01431.57
7.1.40.0420.01331.73
7.1.30.0220.01131.82
7.1.20.1200.00331.56
7.1.10.1580.00713.96
7.1.00.1550.00413.76
7.0.310.0130.00313.03
7.0.300.1520.00713.40
7.0.290.1600.01313.17
7.0.280.0160.01013.37
7.0.270.0250.00913.41
7.0.260.0100.01013.75
7.0.250.0730.00013.66
7.0.240.1700.00713.40
7.0.230.0140.00413.83
7.0.220.0170.00313.46
7.0.210.0160.00713.78
7.0.200.0100.00713.85
7.0.190.1360.01213.08
7.0.180.0080.01213.35
7.0.170.0200.01313.38
7.0.160.0100.00713.74
7.0.150.1110.00313.72
7.0.140.1420.00913.45
7.0.130.0980.00613.81
7.0.120.0550.00713.42
7.0.110.0170.00413.34
7.0.100.1410.00313.55
7.0.90.1170.00313.58
7.0.80.0350.00613.60
7.0.70.1110.00713.61
7.0.60.0140.00713.32
7.0.50.1100.00613.64
7.0.40.1470.01313.43
7.0.30.1780.00713.62
7.0.20.0450.01113.41
7.0.10.0910.00613.40
7.0.00.0220.00313.78
5.6.380.0040.01114.32
5.6.370.0060.00914.31
5.6.360.0100.00314.31
5.6.350.0060.00914.17
5.6.340.0040.01214.02
5.6.330.0060.00914.57
5.6.320.0000.01114.58
5.6.310.0060.00614.57
5.6.300.0100.00314.56
5.6.290.0040.00814.60
5.6.280.0070.01014.34
5.6.270.0040.00814.19
5.6.260.0000.01514.34
5.6.250.0030.01214.32
5.6.240.0120.00314.32
5.6.230.0120.00514.60
5.6.220.0080.00814.21
5.6.210.0050.00614.32
5.6.200.0080.00414.21
5.6.190.0090.00414.52
5.6.180.0060.01014.12
5.6.170.0070.00414.47
5.6.160.0120.00414.17
5.6.150.0050.01114.53
5.6.140.0070.00514.40
5.6.130.0100.00714.29
5.6.120.0060.00614.48
5.6.110.0070.00714.48
5.6.100.0100.00314.42
5.6.90.0070.00314.41
5.6.80.0060.00614.39
5.6.70.0000.01214.21
5.6.60.0060.00614.35
5.6.50.0060.00614.32
5.6.40.0090.00514.32
5.6.30.0090.00614.22
5.6.20.0060.00814.62
5.6.10.0060.01114.24
5.6.00.0130.00314.48
5.5.380.0040.00711.97
5.5.370.0000.01011.97
5.5.360.0120.00011.97
5.5.350.0090.00611.97
5.5.340.0050.00511.97
5.5.330.0030.01011.97
5.5.320.0090.00011.99
5.5.310.0090.00011.99
5.5.300.0050.00511.99
5.5.290.0050.00511.99
5.5.280.0040.00711.99
5.5.270.0000.01011.99
5.5.260.0000.00911.99
5.5.250.0070.00312.02
5.5.240.0060.00312.02
5.5.230.0090.00012.02
5.5.220.0060.00612.02
5.5.210.0090.00012.02
5.5.200.0100.00012.02
5.5.190.0110.00012.02
5.5.180.0050.00512.02
5.5.170.0080.00814.30
5.5.160.0090.00412.02
5.5.150.0110.00012.02
5.5.140.0030.00912.02
5.5.130.0080.00812.02
5.5.120.0040.00712.02
5.5.110.0080.00412.02
5.5.100.0170.00012.02
5.5.90.0120.00412.02
5.5.80.0080.00412.02
5.5.70.0040.00812.02
5.5.60.0060.00612.02
5.5.50.0100.00512.02
5.5.40.0080.00812.02
5.5.30.0070.00712.02
5.5.20.0000.01612.02
5.5.10.0070.00712.02
5.5.00.0040.01112.02
5.4.450.0000.01011.99
5.4.440.0110.00011.99
5.4.430.0110.00011.99
5.4.420.0000.01112.02
5.4.410.0000.00812.02
5.4.400.0000.00912.02
5.4.390.0050.00512.02
5.4.380.0140.00012.02
5.4.370.0080.00412.02
5.4.360.0070.00712.02
5.4.350.0080.00412.02
5.4.340.0080.00412.02
5.4.330.0100.00312.02
5.4.320.0040.01212.02
5.4.310.0130.00012.02
5.4.300.0040.00812.02
5.4.290.0140.00012.02
5.4.280.0070.00712.02
5.4.270.0040.00712.02
5.4.260.0170.00012.02
5.4.250.0100.00712.02
5.4.240.0000.01412.02
5.4.230.0070.00612.02
5.4.220.0120.00312.02
5.4.210.0100.00512.02
5.4.200.0130.00012.02
5.4.190.0030.01012.02
5.4.180.0070.01012.02
5.4.170.0040.01212.02
5.4.160.0060.01012.02
5.4.150.0090.00612.02
5.4.140.0130.00412.02
5.4.130.0100.00512.02
5.4.120.0070.01012.02
5.4.110.0050.01012.02
5.4.100.0100.00312.02
5.4.90.0090.00512.02
5.4.80.0050.00712.02
5.4.70.0070.00712.02
5.4.60.0150.00012.02
5.4.50.0090.00612.02
5.4.40.0100.00312.02
5.4.30.0070.00712.02
5.4.20.0240.00412.02
5.4.10.0080.00412.02
5.4.00.0260.00712.02
5.3.290.0110.00412.02
5.3.280.0110.00012.02
5.3.270.0100.00312.02
5.3.260.0100.00412.02
5.3.250.0000.01212.02
5.3.240.0070.00712.02
5.3.230.0110.00012.02
5.3.220.0120.00412.02
5.3.210.0130.00412.02
5.3.200.0090.00612.02
5.3.190.0130.00212.02
5.3.180.0120.00012.02
5.3.170.0000.01812.02
5.3.160.0100.00512.02
5.3.150.0130.00012.02
5.3.140.0040.00812.02
5.3.130.0120.00012.02
5.3.120.0060.00612.02
5.3.110.0090.00312.02
5.3.100.0070.00312.02
5.3.90.0030.01212.02
5.3.80.0080.00512.02
5.3.70.0070.00712.02
5.3.60.0070.00412.02
5.3.50.0080.00612.02
5.3.40.0060.00612.02
5.3.30.0080.00612.02
5.3.20.0090.00612.02
5.3.10.0040.00812.02
5.3.00.0190.00312.02
5.2.170.0120.00012.02
5.2.160.0060.00612.02
5.2.150.0040.00812.02
5.2.140.0080.00612.02
5.2.130.0000.01012.02
5.2.120.0040.00412.02
5.2.110.0060.00312.02
5.2.100.0070.00312.02
5.2.90.0040.00712.02
5.2.80.0090.00012.02
5.2.70.0080.00212.02
5.2.60.0060.00412.02
5.2.50.0080.00012.02
5.2.40.0030.00612.02
5.2.30.0050.00512.02
5.2.20.0050.00512.02
5.2.10.0130.00012.02
5.2.00.0070.00412.02
5.1.60.0080.00012.02
5.1.50.0000.00912.02
5.1.40.0050.00512.02
5.1.30.0080.00012.02
5.1.20.0000.00712.02
5.1.10.0080.00012.02
5.1.00.0060.00312.02
5.0.50.0050.00312.02
5.0.40.0000.00712.02
5.0.30.0070.00012.02
5.0.20.0000.00612.02
5.0.10.0060.00212.02
5.0.00.0040.00212.02
4.4.90.0040.00212.02
4.4.80.0060.00012.02
4.4.70.0030.00312.02
4.4.60.0040.00412.02
4.4.50.0050.00012.02
4.4.40.0070.00012.02
4.4.30.0040.00212.02
4.4.20.0030.00512.02
4.4.10.0080.00312.02
4.4.00.0050.00212.02
4.3.110.0070.00012.02
4.3.100.0050.00012.02
4.3.90.0050.00212.02
4.3.80.0060.00012.02
4.3.70.0000.00712.02
4.3.60.0070.00012.02
4.3.50.0030.00312.02
4.3.40.0000.00712.02
4.3.30.0030.00312.02
4.3.20.0040.00012.02
4.3.10.0020.00212.02
4.3.00.0030.00312.02

preferences:
52.48 ms | 401 KiB | 5 Q