Req #68257 [Opn->Nab]: Return type defenition

[email protected]
Newsgroups php.standards
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=68257&edit=1

 ID:                 68257
 Updated by:         [email protected]
 Reported by:        antivir88 at mail dot ru
 Summary:            Return type defenition
-Status:             Open
+Status:             Not a bug
 Type:               Feature/Change Request
 Package:            PHP Language Specification
 Operating System:   any
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

Standards describe current language behavior. To propose new language feature, the correct process is RFC (see wiki.php.net/rfc) and internals mailing list discussion. Please also see this RFC: https://wiki.php.net/rfc/returntypehinting


Previous Comments:
------------------------------------------------------------------------
[2014-10-18 07:17:50] antivir88 at mail dot ru

Description:
------------
Type definitions for a return value

Test script:
---------------
bool public function someFunction(array $params=[]) {
   return true;
}



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68257&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.