Re: PHP 4.0 Bug #8415 Updated: - if - returns an error!

From: Date: Thu, 28 Dec 2000 11:20:58 +0000
Subject: Re: PHP 4.0 Bug #8415 Updated: - if - returns an error!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-42376@lists.php.net to get a copy of this message
thx! chrisv@b0rked.dhs.org told me the same... but, do you know why they have changed this? in all the previous versions it worked! just in this new version it has been changed! thx for your help! cu flow nex _____________________________________________________________________________ >>> flow nex - flowsworld inc. email: flow@flowsworld.com icq#: 21598302 [official] http://www.flowsworld.com?ref=email (free4all - under construction) [privat] http://212.33.36.237 (only vip-users) ftp://212.33.36.237 (only vip-users) ----- Original Message ----- From: Bug Database To: flow@flowsworld.com Sent: Thursday, December 28, 2000 12:14 PM Subject: PHP 4.0 Bug #8415 Updated: - if - returns an error! ID: 8415 Updated by: sniper Reported By: flow@flowsworld.com Old-Status: Open Status: Bogus Bug Type: *General Issues Assigned To: Comments: This is no bug. Use something like this instead: if(!isset($action) || $action == "") { And there is also empty(). (try looking for it in the manual) --Jani Previous Comments: --------------------------------------------------------------------------- [2000-12-25 08:18:37] flow@flowsworld.com hi! i'm not a user who is doing so much with php but is think i found a bug in the newest version. i can't belive that its really one but i can't find anywhere an answer! (sorry for my bad english! i come from austria :)) a normal if-condition like that: <script language="php"> if ($action=="") { </script> returns this error: Warning: Undefined variable: action in G:[...path...]index.php on line 42 i don't know if this is a bug or not - the QA has tested this version very hard so i can't belive it!!! in all the past php-versions it worked! - if its not a bug, i' sorry for teasing you! cu your flow nex --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8415

« previous php.dev (#42376) next »