note 129253 added to datetime.construct

From: Date: Fri, 16 Feb 2024 07:45:41 +0000
Subject: note 129253 added to datetime.construct
Groups: php.notes 
Request: Send a blank email to php-notes+get-221205@lists.php.net to get a copy of this message
it says the default parameter is 'now'. but it also uses 'now' when you enter an empty string like '' despite it being a valid datetime format, expected an exception. ---- Server IP: 45.112.84.4 Probable Submitter: 80.90.13.131 (proxied: 178.157.83.110) ---- Manual Page -- https://php.net/manual/en/datetime.construct.php Edit -- https://main.php.net/note/edit/129253 Del: integrated -- https://main.php.net/note/delete/129253/integrated Del: useless -- https://main.php.net/note/delete/129253/useless Del: bad code -- https://main.php.net/note/delete/129253/bad+code Del: spam -- https://main.php.net/note/delete/129253/spam Del: non-english -- https://main.php.net/note/delete/129253/non-english Del: in docs -- https://main.php.net/note/delete/129253/in+docs Del: other reasons-- https://main.php.net/note/delete/129253 Reject -- https://main.php.net/note/reject/129253 Search -- https://main.php.net/manage/user-notes.php

« previous php.notes (#221205) next »