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
 [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: Thu Apr 25 09:01:29 2024 UTC