note 128450 added to function.date
| From: | amasingh03101988 at gmail dot com | Date: | Fri, 05 May 2023 05:22:04 +0000 |
| Subject: | note 128450 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220406@lists.php.net to get a copy of this message | ||
You can call it a loophole or a fun fact but this is weird (why it is not handled by PHP):
<?php
echo date('Fred') ;
Output: MayFri, 05 May 2023 07:03:16 +0200Europe/Amsterdam05
Output URL: https://3v4l.org/TqFIJ
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 112.196.62.34)
----
Manual Page -- https://php.net/manual/en/function.date.php
Edit -- https://main.php.net/note/edit/128450
Del: integrated -- https://main.php.net/note/delete/128450/integrated
Del: useless -- https://main.php.net/note/delete/128450/useless
Del: bad code -- https://main.php.net/note/delete/128450/bad+code
Del: spam -- https://main.php.net/note/delete/128450/spam
Del: non-english -- https://main.php.net/note/delete/128450/non-english
Del: in docs -- https://main.php.net/note/delete/128450/in+docs
Del: other reasons-- https://main.php.net/note/delete/128450
Reject -- https://main.php.net/note/reject/128450
Search -- https://main.php.net/manage/user-notes.php