Req #40885 [Opn]: New Feature for evaluating expressions
| From: | cmb@php.net | Date: | Sat, 31 Dec 2016 00:09:05 +0000 |
| Subject: | Req #40885 [Opn]: New Feature for evaluating expressions | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206257@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=40885&edit=1
ID: 40885
Updated by: cmb@php.net
Reported by: ed at webspecdesign dot com
Summary: New Feature for evaluating expressions
Status: Open
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: Scripting Engine problem
Operating System: Any
PHP Version: 5.2.1
Block user comment: N
Private report: N
New Comment:
There is already a draft RFC covering this feature request, so I'm
suspending the ticket.
Previous Comments:
------------------------------------------------------------------------
[2007-03-21 17:43:13] ed at webspecdesign dot com
Description:
------------
Basically just being able to use some syntactic sugar to evaluate an expression like this:
if ( 10 > $x > 5) {
echo $x.' is greater than 5, but less than 10';
}
which is the same as:
if ($x < 10 && $x > 5) {
echo $x.' is greater than 5, but less than 10';
}
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=40885&edit=1