ZF2-231: shared flag check fails

Issue Type: Bug Created: 2012-03-20T10:16:56.000+0000 Last Updated: 2012-03-23T22:10:11.000+0000 Status: Closed Fix version(s): Reporter: Hasan H. Gürsoy (hhgag) Assignee: Ralph Schindler (ralph) Tags: - Zend\Di

Related issues: Attachments:


if ($dConfig['shared'] == false) { should be: if ($dConfig['shared'] === false) { commited:… otherwise the check misses and an endless loop causes a nested level fatal error, since in… is it set to an empty array, which misses an non boolean false check


Posted by Adam Lundrigan (adamlundrigan) on 2012-03-23T22:07:26.000+0000

This was fixed by [~ralph] in c1d855e9

Posted by Adam Lundrigan (adamlundrigan) on 2012-03-23T22:10:11.000+0000

Relevant Pull Request: #948

Have you found an issue?

See the Overview section for more details.


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

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