I was extending CPhpAuthManager and making my own checkAccess function when I noticed that the $_items property (where roles, task and operation are stored) is private instead of protected.
I suggest making those proprieties protected so we can extend CPhpAuthManager more easily.
Regards,
Caetano