Re: [PHP-DEV] changed behavior: property of a string

2004-12-22 Thread Andi Gutmans
We found the bug. Do you think this warrants a 5.0.4? Andi At 02:06 PM 12/19/2004 -0500, Daniel Convissor wrote: Hi: Someone using PEAR DB just filed a bug report. It turns out PHP's behavior has changed when trying to find a "property" of a string: php -r "$str = 'Hello'; var_dump(isset($str-

Re: [PHP-DEV] changed behavior: property of a string

2004-12-21 Thread Andi Gutmans
Will look into it. Thanks. At 02:06 PM 12/19/2004 -0500, Daniel Convissor wrote: Hi: Someone using PEAR DB just filed a bug report. It turns out PHP's behavior has changed when trying to find a "property" of a string: php -r "$str = 'Hello'; var_dump(isset($str->prop));" In 5.0.0, 5.0.1 and 5.

Re: [PHP-DEV] changed behavior: property of a string

2004-12-19 Thread Daniel Convissor
Hi: Someone mentioned http://bugs.php.net/bug.php?id=31098 deals with this issue. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brookly

Re: [PHP-DEV] changed behavior: property of a string

2004-12-19 Thread Daniel Convissor
On Sun, Dec 19, 2004 at 02:06:21PM -0500, Daniel Convissor wrote: > > php -r "$str = 'Hello'; var_dump(isset($str->prop));" Those on *nix like systems would probably rather use this: php -r '$str = "Hello"; var_dump(isset($str->prop));' > In a PHP 4 snapshot from today, it still retu

[PHP-DEV] changed behavior: property of a string

2004-12-19 Thread Daniel Convissor
Hi: Someone using PEAR DB just filed a bug report. It turns out PHP's behavior has changed when trying to find a "property" of a string: php -r "$str = 'Hello'; var_dump(isset($str->prop));" In 5.0.0, 5.0.1 and 5.0.2 it returns false. But in 5.0.3 it returns true. In a PHP 4 snapshot fro