> So > @var String > @param2/param2("bar") > Will be array('var' => 'String', 'param2/param2' => '("bar")' ); > > Let's make this clear immediately: an associative array as output is not useful. That would make it impossible to nest annotations. For example, something like following wouldn't work if the output is just arrays:
@MyApp\Acl({ "allow"=@MyApp\Acl\Allow({"john"="read", "joe"="write"}), "deny"=@OtherApp\Acl\Deny(default="*", log=true) }) Maybe a silly example, but nested annotations are not that rare :) Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/