|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #40885 New Feature for evaluating expressions
Submitted: 2007-03-21 17:43 UTC Modified: 2016-12-31 00:09 UTC
Avg. Score:4.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: ed at webspecdesign dot com Assigned:
Status: Open Package: Scripting Engine problem
PHP Version: 5.2.1 OS: Any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ed at webspecdesign dot com
New email:
PHP Version: OS:


 [2007-03-21 17:43 UTC] ed at webspecdesign dot com
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';


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-31 00:09 UTC]
-Package: Feature/Change Request +Package: Scripting Engine problem
 [2016-12-31 00:09 UTC]
There is already a draft RFC covering this feature request, so I'm
suspending the ticket.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 10:01:24 2019 UTC