note 125370 added to dateperiod.construct
| From: | (mail@chayan.me) | Date: | Wed, 16 Sep 2020 16:27:01 +0000 |
| Subject: | note 125370 added to dateperiod.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-215123@lists.php.net to get a copy of this message | ||
I stumbled upon this class after seeing it's implementation at the beginning. PHP does not
support multiple constructors per Class so how come it has 3 of them? After a bit research I found
that this class is not written in PHP. They're written in C. The code for DatePeriod's
constructor can be found
here[https://github.com/php/php-src/blob/0787cd60ed3d0c8c8c8ff7e49b9bb3587bf33b64/ext/date/php_date.c#L4316].
----
Server IP: 45.112.84.4
Probable Submitter: 103.51.167.36 (proxied: 103.71.42.60)
----
Manual Page -- http://php.net/manual/en/dateperiod.construct.php
Edit -- https://master.php.net/note/edit/125370
Del: integrated -- https://master.php.net/note/delete/125370/integrated
Del: useless -- https://master.php.net/note/delete/125370/useless
Del: bad code -- https://master.php.net/note/delete/125370/bad+code
Del: spam -- https://master.php.net/note/delete/125370/spam
Del: non-english -- https://master.php.net/note/delete/125370/non-english
Del: in docs -- https://master.php.net/note/delete/125370/in+docs
Del: other reasons-- https://master.php.net/note/delete/125370
Reject -- https://master.php.net/note/reject/125370
Search -- https://master.php.net/manage/user-notes.php