#25291 [NEW]: Using == with test instead of =
| From: | david at quanstro dot net | Date: | Thu, 28 Aug 2003 13:13:29 +0000 |
| Subject: | #25291 [NEW]: Using == with test instead of = | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-46833@lists.php.net to get a copy of this message | ||
From: david at quanstro dot net
Operating system: Solaris 2.8
PHP version: 5.0.0b1 (beta1)
PHP Bug Type: *Configuration Issues
Bug description: Using == with test instead of =
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.
--
Edit bug report at http://bugs.php.net/?id=25291&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25291&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25291&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25291&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25291&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25291&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25291&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25291&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25291&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25291&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25291&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25291&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25291&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25291&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25291&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25291&r=gnused