note 129712 added to function.date
| From: | Anonymous | Date: | Wed, 21 Aug 2024 06:34:32 +0000 |
| Subject: | note 129712 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-221486@lists.php.net to get a copy of this message | ||
date used to return false in case the second parameter was invalid (could not be converted to
integer, e.g. empty string) until PHP 7.4.
Since PHP 8.0 a TypeError is thrown instead.
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 213.155.83.52)
----
Manual Page -- https://php.net/manual/en/function.date.php
Edit -- https://main.php.net/note/edit/129712
Del: integrated -- https://main.php.net/note/delete/129712/integrated
Del: useless -- https://main.php.net/note/delete/129712/useless
Del: bad code -- https://main.php.net/note/delete/129712/bad+code
Del: spam -- https://main.php.net/note/delete/129712/spam
Del: non-english -- https://main.php.net/note/delete/129712/non-english
Del: in docs -- https://main.php.net/note/delete/129712/in+docs
Del: other reasons-- https://main.php.net/note/delete/129712
Reject -- https://main.php.net/note/reject/129712
Search -- https://main.php.net/manage/user-notes.php