Return type declaration and &return.falseforfailure;
| From: | Andrew Gromov | Date: | Tue, 05 Dec 2017 10:15:25 +0000 |
| Subject: | Return type declaration and &return.falseforfailure; | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969386834@lists.php.net to get a copy of this message | ||
I see many changes from anonymous users like this:
- <type>int</type><methodname>preg_match</methodname>
+ <type>int|bool</type><methodname>preg_match</methodname>
or this:
- <type>int</type><methodname>preg_match_all</methodname>
+ <type>mixed</type><methodname>preg_match_all</methodname>
Formally them correct, but by spirit them is bad (imho).
Accept or reject them?