ID: 37806 Updated by: [EMAIL PROTECTED] Reported By: technophreak at gammae dot com -Status: Assigned +Status: Closed Bug Type: Scripting Engine problem -Operating System: Fedora Core 4 +Operating System: * -PHP Version: 5CVS-2006-06-06 +PHP Version: 5CVS-2006-06-09 Assigned To: helly New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-06-14 16:46:45] technophreak at gammae dot com Description: ------------ Works as expected in PHP 5.1.2 Tried on latest cvs: php5.2-200606141430 Reproduce code: --------------- <? class test { } $test = new test; var_dump(isset($test)); var_dump($test != ""); ?> Expected result: ---------------- bool(true) bool(true) Actual result: -------------- bool(true) bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37806&edit=1