#24436 [Opn->Asn]: isset() and empty() produce errors with non-existent variables in classes

From: Date: Wed, 09 Jul 2003 11:42:31 +0000
Subject: #24436 [Opn->Asn]: isset() and empty() produce errors with non-existent variables in classes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43522@lists.php.net to get a copy of this message
ID: 24436 Updated by: sniper@php.net Reported By: Nico dot Laus dot 2002 at gmx dot de -Status: Open +Status: Assigned Bug Type: Zend Engine 2 problem Operating System: WinXP SP1 PHP Version: 5CVS-2003-07-01 (dev) Assigned To: sterling New Comment: Sterling, please explain this a bit better. (explain why it can't be fixed and make this "Wont fix" then :) This clearly is BC breakage at best.. Previous Comments: ------------------------------------------------------------------------ [2003-07-09 06:26:47] Nico dot Laus dot 2002 at gmx dot de it cannot be *correct* that it one time shows errors and the other time it doesn't show any! ------------------------------------------------------------------------ [2003-07-08 21:25:50] sterling@php.net You are right, its not fixed, but it is *correct* due to the way the new object model works. bogusing ... ------------------------------------------------------------------------ [2003-07-08 20:44:24] sniper@php.net No errors with PHP 4.3.3RC2-dev but with latest PHP 5 CVS I do get errors. Bug NOT fixed, sterling.. :) ------------------------------------------------------------------------ [2003-07-08 19:55:18] Nico dot Laus dot 2002 at gmx dot de I have forgotten to set the status to "open" again -> done now ;) ------------------------------------------------------------------------ [2003-07-08 18:02:45] Nico dot Laus dot 2001 at gmx dot de I've got the newest CVS of PHP now, but this Bug still exists -> I've tried the sample-code by "postings-php-bug at hans-spath dot de" and I got the same output as before - with code1 no errors, code 2 produces them ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/24436 -- Edit this bug report at http://bugs.php.net/?id=24436&edit=1

« previous php.bugs (#43522) next »