php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22995 if ( $something == "NAME") { print $something } prints "0"
Submitted: 2003-03-31 16:47 UTC Modified: 2003-03-31 17:05 UTC
From: hermandepauw at hotmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 4.3.0 OS: Red Hat Linux
Private report: No CVE-ID: None
 [2003-03-31 16:47 UTC] hermandepauw at hotmail dot com
if ( $something == "NAME") { print $something } prints "0"

the main problem is in the summary ... example code and source on http://www.deparadox.be/php/ i don't know the explain it in words so get a view ... code is only ~10 lines 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-31 16:52 UTC] hermandepauw at hotmail dot com
Due to traffic probs this bug was submitted twice ... my excuses
 [2003-03-31 17:05 UTC] pollita@php.net
Both this and the original version qualify as bogus as it's a scripting error and not a bug in PHP itself.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 03 21:01:31 2024 UTC