ZF-12271: Memory Problem when checking with logical operators
Description
I am trying to implement a customized Acl Assert.
if($acl->isAllowed($role,$resource,$privilege.':all')) { return true; }
works fine. But
if(($acl->isAllowed($role,$resource,$privilege.':all')) || ($acl->isAllowed($role,$resource,$privilege))) { return true; }
throws a
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 261904 bytes) in ........\library\Zend\Acl.php on line 837
Comments
No comments to display