ID: 31611 Updated by: [EMAIL PROTECTED] Reported By: sa at ventigo dot com -Status: Open +Status: Feedback Bug Type: CGI related Operating System: Gentoo Linux PHP Version: 5.0.3 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.0-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-01-19 16:56:56] sa at ventigo dot com Description: ------------ The problem is in the different results of isset() in different versions of PHP. I have tested it with compiled in SPL Support and vithout SPL support; the problem is always the same. Reproduce code: --------------- #!/usr/bin/php <?php $blah = 'ABC'; var_dump($blah, $blah->foo, isset($blah->foo)); ?> Expected result: ---------------- I get this Result in following versions of PHP: - PHP 5.0.0 as Apache Module - PHP 5.0.3 as Apache Module - PHP 5.0.0 CLI string(3) "ABC" NULL bool(false) Actual result: -------------- This is the result in PHP 5.0.3 CLI (With and without SPL support) string(3) "ABC" NULL bool(true) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31611&edit=1
