php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25291 Using == with test instead of =
Submitted: 2003-08-28 08:13 UTC Modified: 2003-08-28 09:45 UTC
From: david at quanstro dot net Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.0.0b1 (beta1) OS: Solaris 2.8
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: david at quanstro dot net
New email:
PHP Version: OS:

 

 [2003-08-28 08:13 UTC] david at quanstro dot net
Description:
------------
In PHP 5.0.0b1, on line 76135 of configure, there is this line:

if test "$PHP_XSL" != "no" -a "$PHP_DOM" == "no"; then

The bug is that test uses = for equality, not ==.  == elicits a syntax error.

This appears to be the only bug of this form in the script.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-28 09:45 UTC] sniper@php.net
Submitted..dunno how many times..before.
(Try SEARCH before you submit new reports..)

 [2003-08-28 09:45 UTC] sniper@php.net
Bogus, of course, latest CVS has the fix already.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 16:01:27 2024 UTC