Req #40296 [Com]: "unless" control structure

From: Date: Sun, 24 Apr 2016 03:03:43 +0000
Subject: Req #40296 [Com]: "unless" control structure
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200730@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=40296&edit=1

 ID:                 40296
 Comment by:         David at Refoua dot me
 Reported by:        mail at tobyinkster dot co dot uk
 Summary:            "unless" control structure
 Status:             Wont fix
 Type:               Feature/Change Request
 Package:            *General Issues
 Operating System:   All
 PHP Version:        5.2.0
 Block user comment: N
 Private report:     N

 New Comment:

I am interested in this language construct.
Please make it happen in PHP 7.x variations!


Previous Comments:
------------------------------------------------------------------------
[2013-06-24 20:33:25] craig at clearbooks dot co dot uk

+1 for this language construct it would  be awesome

------------------------------------------------------------------------
[2013-05-16 20:02:39] charlie at gorichanaz dot com

Well, I maintain I would love to see this control structure implemented. I understand a non English
speaker might not have the same level of understanding of the word "unless" as a native
English speaker, but you can say the same of any other keyword in PHP or any other programming
language written in English, and I fail to see how that is a valid argument against its inclusion.

------------------------------------------------------------------------
[2013-02-20 18:36:04] email at philsturgeon dot co dot uk

It looks like this conversation dried up after the rather out-of-context confusion 
over unless somehow meaning "more".

Can we move past that please, as it's a ridiculous non-issue.

------------------------------------------------------------------------
[2012-07-30 15:09:00] email at philsturgeon dot co dot uk

Rasmus: toby was not suggesting that "uniqid" is the opposite of "iqid", he is 
saying that you can have "un" at the start of a function or keyword without it 
automatically flipping the meaning of the next few letters and confusing people - 
as you suggested in your comment yesterday.

In neither situation does "un" switch the meaning of the following letters, so if 
it is ok for one function/keyword it should be ok for another, right?

I don't want to argue, I just want to make sure people are clear. I would hate to 
see this conversation derailed by confusion or people loudly agreeing.

------------------------------------------------------------------------
[2012-07-30 15:00:31] rasmus@php.net

Now you are just being silly. "uniqid" is "unique id" from the latin root
"uni" 
meaning one or singular. Makes perfect sense . It isn't "un" anything.

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


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=40296


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


Thread (19 messages)

« previous php.bugs (#200730) next »