ZF2-216: ArrayStorage::setMetadata unreachable code

Issue Type: Patch Created: 2012-03-12T09:13:52.000+0000 Last Updated: 2012-06-06T12:20:10.000+0000 Status: Resolved Fix version(s): Reporter: Dimitar Isusov (lokrain) Assignee: Maks 3w (maks3w) Tags: - Zend\Session

  • ArrayStorage
  • Session
  • unreachable

Related issues: Attachments:


Take a look at 3rd if block:

if (isset($this['__ZF'][$key]) && is_array($value)) { if ($overwriteArray) { $this['__ZF'][$key] = $value; } elseif (null === $value) { // We should note that $value is array and cannot be null ..... ..... } } else { ..... ..... }


Posted by Maks 3w (maks3w) on 2012-06-06T12:20:10.000+0000

Thank you Dimitar

Fixed in

Have you found an issue?

See the Overview section for more details.


© 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.