* 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
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
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