ZF-2021: Zend_Config::toArray() does not support generic object values

Issue Type: Bug Created: 2007-10-01T14:27:01.000+0000 Last Updated: 2007-12-15T21:46:39.000+0000 Status: Resolved Fix version(s): - 1.0.3 (30/Nov/07)

Reporter: Darby Felton (darby) Assignee: Darby Felton (darby) Tags: - Zend_Config

Related issues: - ZF-2016



Zend_Config::toArray() makes improper use of is_object() where instanceof is more appropriate, resulting in the inability to have object values, except other objects that happen to have a toArray() method defined.


Posted by Darby Felton (darby) on 2007-10-01T15:39:40.000+0000

Fixed for 1.1.0 with SVN r6556.

Posted by Rob Allen (rob) on 2007-10-01T15:44:06.000+0000

Coo! You resolved it before I even got my editor up!

Posted by Darby Felton (darby) on 2007-11-15T10:19:33.000+0000

Fixed for 1.0.3 with SVN r6829

Have you found an issue?

See the Overview section for more details.


© 2006-2021 by Zend by Perforce. Made with by awesome contributors.

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