3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_POST['txtedate'] = '2021-01-12'; $edate = trim($_POST['txtedate']); //user inputs date 12-01-2021 $int_effective_date = new DateTime(strtotime($edate)); echo "edate:- ".$edate."<br />"; echo "strtotime_edate:- ".strtotime($edate)."<br />"; echo "dateset:- ".strtotime($int_effective_date->format('Y/m/d'));

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.5.10.0150.00516.96
8.5.00.0140.00820.36
8.4.160.0070.00323.89
8.4.150.0030.00014.05
8.4.140.0130.00817.85
8.4.130.0090.01117.96
8.4.120.0110.00620.52
8.4.110.0030.00722.79
8.4.100.0110.01117.82
8.4.90.0160.00417.94
8.4.80.0070.00317.98
8.4.70.0120.00817.93
8.4.60.0040.00618.63
8.4.50.0080.01319.59
8.4.40.0060.01319.43
8.4.30.0100.01020.16
8.4.20.0130.00717.66
8.4.10.0090.00025.88
8.3.280.0140.00818.71
8.3.270.0110.00816.79
8.3.260.0140.00616.92
8.3.250.0150.00418.91
8.3.240.0040.00516.67
8.3.230.0110.01016.88
8.3.220.0130.00617.23
8.3.210.0030.00416.86
8.3.200.0060.00316.77
8.3.190.0110.00717.46
8.3.180.0130.00816.75
8.3.170.0040.01416.60
8.3.160.0060.01319.13
8.3.150.0070.01117.13
8.3.140.0070.00319.00
8.3.130.0040.00418.36
8.3.120.0000.01918.71
8.3.110.0030.00720.94
8.3.100.0040.00424.06
8.3.90.0000.00826.77
8.3.80.0060.00319.36
8.3.70.0090.00918.55
8.3.60.0110.00718.40
8.3.50.0150.00524.47
8.3.40.0030.01618.79
8.3.30.0160.00319.12
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.290.0140.00420.48
8.2.280.0100.01020.23
8.2.270.0070.01116.63
8.2.260.0080.00018.94
8.2.250.0050.00318.44
8.2.240.0090.00917.26
8.2.230.0040.00422.58
8.2.220.0070.01337.54
8.2.210.0050.00326.77
8.2.200.0040.00418.88
8.2.190.0110.01118.29
8.2.180.0070.00725.92
8.2.170.0140.00722.96
8.2.160.0080.00622.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0000.00926.16
8.2.120.0050.00326.35
8.2.110.0030.00619.23
8.2.100.0060.00618.09
8.2.90.0030.00618.00
8.2.80.0000.00818.77
8.2.70.0040.00417.88
8.2.60.0110.00018.16
8.2.50.0030.00518.05
8.2.40.0000.00918.34
8.2.30.0000.00818.20
8.2.20.0030.00518.23
8.2.10.0070.00020.70
8.2.00.0040.00419.25
8.1.330.0140.00618.45
8.1.320.0110.01016.52
8.1.310.0070.00718.48
8.1.300.0090.00618.43
8.1.290.0090.00030.84
8.1.280.0090.00625.92
8.1.270.0000.00822.05
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0040.00420.80
8.1.230.0090.00317.83
8.1.220.0080.00017.74
8.1.210.0030.00518.77
8.1.200.0000.01017.47
8.1.190.0030.00617.48
8.1.180.0080.00018.10
8.1.170.0050.00318.70
8.1.160.0050.00218.91
8.1.150.0030.00618.98
8.1.140.0000.00818.98
8.1.130.0000.00820.15
8.1.120.0000.00717.63
8.1.110.0040.00417.59
8.1.100.0040.00417.56
8.1.90.0070.00017.68
8.1.80.0050.00317.56
8.1.70.0030.00517.65
8.1.60.0030.00617.57
8.1.50.0030.00617.66
8.1.40.0040.00417.61
8.1.30.0040.00417.71
8.1.20.0000.00817.80
8.1.10.0000.00717.72
8.1.00.0030.00517.73
8.0.300.0000.00718.77
8.0.290.0040.00417.00
8.0.280.0040.00418.43
8.0.270.0030.00318.23
8.0.260.0050.00518.52
8.0.250.0000.00717.08
8.0.240.0070.00017.18
8.0.230.0030.00317.04
8.0.220.0030.00617.03
8.0.210.0000.00717.06
8.0.200.0040.00417.16
8.0.190.0000.00717.07
8.0.180.0040.00417.16
8.0.170.0060.00317.13
8.0.160.0030.00617.15
8.0.150.0040.00417.09
8.0.140.0030.00517.07
8.0.130.0000.00513.50
8.0.120.0040.00417.01
8.0.110.0070.00017.11
8.0.100.0000.00717.05
8.0.90.0000.00817.20
8.0.80.0080.01417.08
8.0.70.0000.00717.11
8.0.60.0040.00417.11
8.0.50.0050.00216.94
8.0.30.0100.00617.46
8.0.20.0110.00917.42
8.0.10.0110.01217.40
8.0.00.0140.00817.43
7.4.330.0050.00015.55
7.4.320.0030.00316.67
7.4.300.0030.00316.65
7.4.290.0080.00016.60
7.4.280.0030.00616.65
7.4.270.0070.00016.75
7.4.260.0000.00813.23
7.4.250.0000.00816.61
7.4.240.0050.00316.71
7.4.230.0000.00916.66
7.4.220.0020.00616.55
7.4.210.0100.00716.78
7.4.200.0030.00316.79
7.4.150.0090.01017.40
7.4.140.0120.00917.40
7.4.130.0100.00917.40
7.4.120.0110.00917.40
7.4.110.0120.01017.40
7.4.100.0110.00817.40
7.4.90.0120.00917.40
7.4.80.0110.00717.40
7.4.70.0120.00617.40
7.4.60.0100.01017.40
7.4.50.0130.00617.40
7.4.40.0150.00817.40
7.4.30.0080.01117.40
7.4.20.0080.01017.40
7.4.10.0160.00417.40
7.4.00.0100.00917.40
7.3.330.0000.00716.51
7.3.320.0000.00513.33
7.3.310.0030.00316.53
7.3.300.0000.00616.45
7.3.290.0100.00716.45
7.3.270.0100.01017.40
7.3.260.0110.00917.40
7.3.250.0130.00717.40
7.3.240.0110.00917.40
7.3.230.0110.00817.40
7.3.220.0100.01217.40
7.3.210.0090.01117.40
7.3.200.0090.00917.40
7.3.190.0100.01017.40
7.3.180.0120.00817.40
7.3.170.0130.00717.40
7.3.160.0120.00917.40
7.3.150.0080.01217.40
7.3.140.0100.01017.40
7.3.130.0100.01017.40
7.3.120.0120.00817.40
7.3.110.0100.00817.40
7.3.100.0090.01017.40
7.3.90.0120.00817.40
7.3.80.0080.01317.40
7.3.70.0090.00917.40
7.3.60.0110.00917.40
7.3.50.0110.00817.40
7.3.40.0120.00717.40
7.3.30.0080.01017.40
7.3.20.0270.00717.40
7.3.10.0080.01217.40
7.3.00.0120.00917.40
7.2.340.0270.00817.40
7.2.330.0230.00917.40
7.2.320.0270.00717.40
7.2.310.0260.00817.40
7.2.300.0240.00617.40
7.2.290.0250.00717.40
7.2.280.0220.00617.40
7.2.270.0160.00917.40
7.2.260.0140.01017.40
7.2.250.0150.01017.40
7.2.240.0160.00817.40
7.2.230.0170.00717.40
7.2.220.0200.00317.40
7.2.210.0190.00817.40
7.2.200.0140.01317.40
7.2.190.0160.01517.40
7.2.180.0190.01117.40
7.2.170.0190.01117.40
7.2.160.0200.00617.40
7.2.150.0150.02017.40
7.2.140.0230.00817.40
7.2.130.0180.00917.40
7.2.120.0230.00617.40
7.2.110.0220.01217.40
7.2.100.0180.01417.40
7.2.90.0290.00917.40
7.2.80.0710.01517.40
7.2.70.0210.00817.40
7.2.60.0190.01117.40
7.2.50.0220.01017.40
7.2.40.0230.00617.40
7.2.30.0210.00917.40
7.2.20.0230.01017.40
7.2.10.0230.01317.40
7.2.00.0260.00717.40
7.1.330.0740.00517.40
7.1.320.0230.01117.40
7.1.310.0160.01417.40
7.1.300.0190.01117.40
7.1.290.0220.00717.40
7.1.280.0180.01217.40
7.1.270.0220.00817.40
7.1.260.0200.01117.40
7.1.250.0450.01317.40
7.1.240.0230.01317.40
7.1.230.0200.01217.40
7.1.220.0230.01017.40
7.1.210.0200.00917.40
7.1.200.0290.00717.40
7.1.190.0230.00717.40
7.1.180.0210.01017.40
7.1.170.0210.01317.40
7.1.160.0210.00917.40
7.1.150.0210.00917.40
7.1.140.0180.01217.40
7.1.130.0230.01117.40
7.1.120.0490.01017.40
7.1.110.0210.00917.40
7.1.100.0260.00617.40
7.1.90.0170.01417.40
7.1.80.0270.00517.40
7.1.70.0220.00817.40
7.1.60.0220.00817.40
7.1.50.0230.01017.40
7.1.40.0250.00817.40
7.1.30.0220.00917.40
7.1.20.0180.01317.40
7.1.10.0280.00517.40
7.1.00.0200.01017.40
7.0.330.0220.00717.40
7.0.320.0200.00917.40
7.0.310.0200.01317.40
7.0.300.1050.00917.40
7.0.290.0200.01117.40
7.0.280.0260.00717.40
7.0.270.0240.00617.40
7.0.260.0190.00917.40
7.0.250.0250.01417.40
7.0.240.0250.00617.40
7.0.230.0240.00817.40
7.0.220.0280.00517.40
7.0.210.0260.00617.40
7.0.200.0240.00717.40
7.0.190.0230.00917.40
7.0.180.0200.00917.40
7.0.170.0210.01517.40
7.0.160.0180.01017.40
7.0.150.0220.00717.40
7.0.140.0210.00917.40
7.0.130.0210.00917.40
7.0.120.0450.00217.40
7.0.110.0200.01017.40
7.0.100.0190.01117.40
7.0.90.0260.00517.40
7.0.80.0290.00717.40
7.0.70.0250.00917.40
7.0.60.0220.00817.40
7.0.50.0270.00617.40
7.0.40.0270.00217.40
7.0.30.0230.00417.40
7.0.20.0270.00617.40
7.0.10.0200.01117.40
7.0.00.0230.00917.40
5.6.400.0270.00817.40
5.6.390.0280.00517.40
5.6.380.0160.01517.40
5.6.370.0190.01217.40
5.6.360.0250.00417.40
5.6.350.0250.00817.40
5.6.340.0230.01217.40
5.6.330.0180.01117.40
5.6.320.0200.01117.40
5.6.310.0240.00917.40
5.6.300.0190.01417.40
5.6.290.0230.00817.40
5.6.280.0280.00617.40
5.6.270.0190.01217.40
5.6.260.0220.01017.40
5.6.250.0230.01217.40
5.6.240.0170.01317.40
5.6.230.0220.00817.40
5.6.220.0180.01317.40
5.6.210.0130.01917.40
5.6.200.0240.01117.40
5.6.190.0250.00617.40
5.6.180.0200.01017.40
5.6.170.0220.01017.40
5.6.160.0240.00917.40
5.6.150.0230.00817.40
5.6.140.0220.00917.40
5.6.130.0240.00917.40
5.6.120.0220.01117.40
5.6.110.0210.01017.40
5.6.100.0240.00717.40
5.6.90.0240.01117.40
5.6.80.0240.00817.40
5.6.70.0170.01517.40
5.6.60.0220.01017.40
5.6.50.0210.01417.40
5.6.40.0250.01017.40
5.6.30.0200.00817.40
5.6.20.0280.00417.40
5.6.10.0180.01517.40
5.6.00.0160.01617.40
5.5.380.0190.01217.40
5.5.370.0230.00817.40
5.5.360.0190.01217.40
5.5.350.0200.01217.40
5.5.340.0160.01717.40
5.5.330.0220.00917.40
5.5.320.0210.01217.40
5.5.310.0280.00217.40
5.5.300.0230.00717.40
5.5.290.0210.01217.40
5.5.280.0290.00517.40
5.5.270.0220.00917.40
5.5.260.0200.01417.40
5.5.250.0230.01017.40
5.5.240.0180.01217.40
5.5.230.0170.01217.40
5.5.220.0230.00517.40
5.5.210.0180.01317.40
5.5.200.0220.01417.40
5.5.190.0200.01017.40
5.5.180.0210.01617.40
5.5.170.0240.01117.40
5.5.160.0200.01517.40
5.5.150.0210.01117.40
5.5.140.0210.01517.40
5.5.130.0230.01417.40
5.5.120.0220.01317.40
5.5.110.0200.01317.40
5.5.100.0280.00517.40
5.5.90.0190.01317.40
5.5.80.0260.00317.40
5.5.70.0180.01417.40
5.5.60.0210.00917.40
5.5.50.0190.01417.40
5.5.40.0160.01717.40
5.5.30.0180.01217.40
5.5.20.0220.01017.40
5.5.10.0250.00617.40
5.5.00.0190.01417.40
5.4.450.0140.00917.40
5.4.440.0160.00517.40
5.4.430.0170.00617.40
5.4.420.0220.00617.40
5.4.410.0150.00617.40
5.4.400.0180.00617.40
5.4.390.0160.00717.40
5.4.380.0180.00817.40
5.4.370.0150.01017.40
5.4.360.0130.01117.40
5.4.350.0190.00617.40
5.4.340.0180.00617.40
5.4.330.0170.00717.40
5.4.320.0200.01017.40
5.4.310.0190.00617.40
5.4.300.0180.01117.40
5.4.290.0180.00917.40
5.4.280.0150.01317.40
5.4.270.0190.00417.40
5.4.260.0160.00817.40
5.4.250.0150.01017.40
5.4.240.0210.00217.40
5.4.230.0210.00617.40
5.4.220.0160.00717.40
5.4.210.0150.01117.40
5.4.200.0130.01017.40
5.4.190.0140.00917.40
5.4.180.0150.00717.40
5.4.170.0140.00917.40
5.4.160.0100.01317.40
5.4.150.0160.00617.40
5.4.140.0190.00517.40
5.4.130.0130.01017.40
5.4.120.0200.00517.40
5.4.110.0150.00817.40
5.4.100.0150.01517.40
5.4.90.0130.00817.40
5.4.80.0180.00517.40
5.4.70.0150.00717.40
5.4.60.0140.00817.40
5.4.50.0130.00817.40
5.4.40.0140.00917.40
5.4.30.0180.00617.40
5.4.20.0210.00617.40
5.4.10.0190.00917.40
5.4.00.0190.00817.40
5.3.290.0170.01317.40
5.3.280.0160.00817.40
5.3.270.0150.00817.40
5.3.260.0110.01417.40
5.3.250.0110.01317.40
5.3.240.0180.00617.40
5.3.230.0140.01017.40
5.3.220.0110.01717.40
5.3.210.0110.01417.40
5.3.200.0150.01117.40
5.3.190.0130.01117.40
5.3.180.0140.01017.40
5.3.170.0160.00717.40
5.3.160.0110.01417.40
5.3.150.0170.01017.40
5.3.140.0160.00917.40
5.3.130.0160.01217.40
5.3.120.0200.00717.40
5.3.110.0170.01317.40
5.3.100.0140.01117.40
5.3.90.0190.00617.40
5.3.80.0150.00917.40
5.3.70.0130.00917.40
5.3.60.0140.00917.40
5.3.50.0130.01017.40
5.3.40.0200.00417.40
5.3.30.0170.00617.40
5.3.20.0180.00617.40
5.3.10.0170.00917.40
5.3.00.0180.00417.40
5.2.170.0100.00917.40
5.2.160.0120.00817.40
5.2.150.0170.00417.40
5.2.140.0160.00617.40
5.2.130.0110.00817.40
5.2.120.0110.00817.40
5.2.110.0150.00717.40
5.2.100.0060.01417.40
5.2.90.0130.00917.40
5.2.80.0160.00517.40
5.2.70.0130.00617.40
5.2.60.0110.00817.40
5.2.50.0130.00717.40
5.2.40.0100.00917.40
5.2.30.0120.01017.40
5.2.20.0090.00917.40
5.2.10.0120.00717.40
5.2.00.0130.00617.40
5.1.60.0110.00617.40
5.1.50.0110.00717.40
5.1.40.0100.00517.40
5.1.30.0150.00117.40
5.1.20.0140.00417.40
5.1.10.0090.00717.40
5.1.00.0110.00617.40
5.0.50.0040.01017.40
5.0.40.0050.01017.40
5.0.30.0090.00517.40
5.0.20.0110.00417.40
5.0.10.0090.00517.40
5.0.00.0070.00817.40
4.4.90.0090.00117.40
4.4.80.0070.00217.40
4.4.70.0070.00117.40
4.4.60.0070.00317.40
4.4.50.0080.00117.40
4.4.40.0040.00517.40
4.4.30.0060.00317.40
4.4.20.0070.00217.40
4.4.10.0050.00417.40
4.4.00.0070.00217.40
4.3.110.0070.00217.40
4.3.100.0080.00217.40
4.3.90.0100.00017.40
4.3.80.0050.00417.40
4.3.70.0050.00517.40
4.3.60.0080.00217.40
4.3.50.0070.00217.40
4.3.40.0060.00417.40
4.3.30.0020.00617.40
4.3.20.0060.00217.40
4.3.10.0040.00417.40
4.3.00.0090.00017.40

preferences:
48.67 ms | 403 KiB | 5 Q