Hi!

> @MyApp\Acl({
>     "allow"=@MyApp\Acl\Allow({"john"="read", "joe"="write"}),
>     "deny"=@OtherApp\Acl\Deny(default="*", log=true)
> })

I seriously hope it never comes to this in PHP. We're supposed to be
simple language for doing cool stuff on the web, not a serialization
format for ORM metadata. If we can not make it simple and
comprehensible, we better not do it at all (at least on the language
level). There are plenty of ways to store metadata, not everything
should be in the language syntax.

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

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

Reply via email to