Question:

Given an object, $obj, should strval($obj) and settype($obj, 'string')
return $obj->__toString() if it exists?

They currently do not, but (string) $obj does.

Are these three operations supposed to be identical, but with
different syntax? Or are there other differences among them?

-adam

-- 
[EMAIL PROTECTED]
author of o'reilly's php cookbook
avoid the holiday rush, buy your copy today!

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to