Re: [PHP-DEV] casting php5 objects

2004-09-09 Thread Curt Zirzow
* Thus wrote Andi Gutmans: > Please check the archives to see why we don't support object casts to > integers/doubles. > Hint: The object id is not unique. Yeah i checked there, I always get frustrated with to many results over there :) I'll research that again now that I know there has to be som

Re: [PHP-DEV] casting php5 objects

2004-09-09 Thread Andi Gutmans
Please check the archives to see why we don't support object casts to integers/doubles. Hint: The object id is not unique. Andi At 03:45 AM 9/10/2004 +, Curt Zirzow wrote: In reference to bug #29029 (http://bugs.php.net/29029): Current casting object behaviour: int - not able to cast

[PHP-DEV] casting php5 objects

2004-09-09 Thread Curt Zirzow
In reference to bug #29029 (http://bugs.php.net/29029): Current casting object behaviour: int - not able to cast dobule - notice thrown, returns 1.0 null - will return null bool - returns 1 (from result of double) string - user __toString() if applicable or 'Object' Be