On Aug 25, 2005, at 8:01 AM, Derick Rethans wrote:

On Tue, 2 Aug 2005, Derick Rethans wrote:

I updated the proposal:
http://files.derickrethans.nl/property_overloading.html

#1)
It seems to me that after declaring the property with the property keyword, the property isn't so virtual anymore.

#2)

I think this is a good idea, but aren't double underline methods reserved for those called by PHP itself. The example shows the user calling __have_prop(). Under what circumstances would php call __have_prop()?

#3)

I would rather see an exception based mechanism for this, but I'll concede that as unlikely, so i'll just suggest using the standard PHP boolean values. The proposal implies TRUE & NULL would be the same, which seems inconsistent.

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

Reply via email to