php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38077 returnGUVS
Submitted: 2006-07-12 11:36 UTC Modified: 2006-07-12 12:48 UTC
From: deathrunner at web dot de Assigned:
Status: Wont fix Package: Unknown/Other Function
PHP Version: 6CVS-2006-07-12 (CVS) OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
10 + 31 = ?
Subscribe to this entry?

 
 [2006-07-12 11:36 UTC] deathrunner at web dot de
Description:
------------
Hello,
Please excuse my misusing this form to suggest a 'returnif' for future PHP versions.
This could look like: returnif(<expr>, <retval>) and would certainly shorten many scripts. A 'returnif' might be not a big deal but little extra's like this one increases the value of PHP.

Greetings,
Felix Lelchuk


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-12 12:48 UTC] tony2001@php.net
No, new language constructs won't be added without a good reason.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Aug 21 18:01:26 2019 UTC