Jason Garber wrote: > Would it be possible to create a new object property attribute: > readonly
Why not make it a little more generic? Say, make readonly an attribute that applies to the ppp tags as opposed to making it a new access class. Eg. if a member is 'public readonly' then it's read/write for private and protected, but read-only in a public context. Similarly, 'protected readonly' is read/write in a private context, read-only in protected and not visible in public. That would make 'private readonly' read-only for private methods, and not visible to anything else, which is probably only useful for properties generated by extensions. Or is this what you're proposing and I'm just being dense? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php