Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

From: Date: Mon, 01 Dec 2003 11:02:20 +0000
Subject: Re: Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-5859@lists.php.net to get a copy of this message
>>And if at all we drop the auto-conversion then what we get is: >>print toupper((string)$obj); >>Wow, no more elegant php - no more typeless php. PHP was never "elegant" in this meaning - you never could do toupper($object) and expect something meaningful. I also don't see any elegancy in it - just more crypic way of saying the same thing. I see no problem at all in writing toupper($object->_toString()) - it is clear, self-documenting and error-resistant much more than your "elegant" version. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109

« previous php.internals (#5859) next »