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

From: Date: Sat, 18 Oct 2014 07:22:09 +0000
Subject: Req #68257 [Opn->Nab]: Return type defenition
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-516@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68257&edit=1 ID: 68257 Updated by: stas@php.net 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

« previous php.standards (#516) next »