Issues

ZF-12271: Memory Problem when checking with logical operators

Issue Type: Bug Created: 2012-06-06T10:52:17.000+0000 Last Updated: 2012-06-06T10:52:17.000+0000 Status: Open Fix version(s): Reporter: Nandini Bhaduri (nandinibhaduri) Assignee: Ralph Schindler (ralph) Tags: - Zend_Acl

Related issues: Attachments:

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

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts