php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20790 boolean 'label' false not evaluating properly
Submitted: 2002-12-03 08:28 UTC Modified: 2002-12-03 08:32 UTC
From: traffert at yahoo dot com Assigned:
Status: Not a bug Package: Variables related
PHP Version: 4.2.0 OS: solaris
Private report: No CVE-ID: None
 [2002-12-03 08:28 UTC] traffert at yahoo dot com
if i invoke a .php prog like this

<a href="myProg.php?setFlag=false">

$setFlag is always evaluated in myProg.php as true

the problem disappears if i use

<a href="myProg.php?setFlag=0">

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-03 08:32 UTC] sander@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC