Req #31627 [Opn->Sus]: return statement should return

From: Date: Thu, 26 Oct 2017 11:27:58 +0000
Subject: Req #31627 [Opn->Sus]: return statement should return
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-212326@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=31627&edit=1

 ID:                 31627
 Updated by:         jhdxr@php.net
 Reported by:        mnemo at minimum dot se
 Summary:            return statement should return
-Status:             Open
+Status:             Suspended
 Type:               Feature/Change Request
 Package:            Scripting Engine problem
 Operating System:   *
 PHP Version:        *
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for your interest in PHP and for submitting a feature request. Please be aware that due to
the magnitude of change this request requires, it would be necessary to discuss it on PHP Internals
list (internals@lists.php.net) as an RFC. Please read the guide about creating RFCs here:
https://wiki.php.net/rfc/howto
If you haven't had experience with writing RFCs before, it is advised to seek guidance on the
Internals list (http://php.net/mailing-lists.php) and/or solicit help from one of the experienced
developers. 

Please to not consider this comment as a negative view on the merits of your proposal - every
proposal which requires changes of certain magnitude, even the very successful and widely supported
ones, must be done through the RFC process. This helps make the process predictable, transparent and
accessible to all developers.


Previous Comments:
------------------------------------------------------------------------
[2016-07-13 10:19:56] cmb@php.net

Related To: Bug #72589

------------------------------------------------------------------------
[2016-06-28 18:55:06] cmb@php.net

Related To: Bug #67184

------------------------------------------------------------------------
[2016-06-23 23:37:58] cmb@php.net

Related To: Bug #71098

------------------------------------------------------------------------
[2015-03-23 19:00:17] cmb@php.net

Then again, what's wrong with

  if (!mysql_connect(blah)) return false;
  
instead?

------------------------------------------------------------------------
[2015-01-08 23:23:44] ajf@php.net

This would make sense, I don't see why we couldn't make "return" an expression.

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


The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at

    https://bugs.php.net/bug.php?id=31627


--
Edit this bug report at https://bugs.php.net/bug.php?id=31627&edit=1


Thread (6 messages)

« previous php.bugs (#212326) next »