Zend Framework

Zend_Config::toArray() does not support generic object values

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.0.2
  • Fix Version/s: 1.0.3
  • Component/s: Zend_Config
  • Labels:
    None
  • Fix Version Priority:
    Should Have

Description

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.

Issue Links

Activity

Hide
Darby Felton added a comment -

Fixed for 1.1.0 with SVN r6556.

Show
Darby Felton added a comment - Fixed for 1.1.0 with SVN r6556.
Hide
Rob Allen added a comment -

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

Show
Rob Allen added a comment - Coo! You resolved it before I even got my editor up!
Hide
Darby Felton added a comment -

Fixed for 1.0.3 with SVN r6829

Show
Darby Felton added a comment - Fixed for 1.0.3 with SVN r6829

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: