ZF-3566: Do not apply array_walk_recursive to filter value if isArray set to false


Currently filter will apply to all array values throw array_walk_recursive:

    public function getValue()
        $valueFiltered = $this->_value;

        if (is_array($valueFiltered)) {
            array_walk_recursive($valueFiltered, array($this, '_filterValue'));
        } else {
            $this->_filterValue($valueFiltered, $valueFiltered);

        return $valueFiltered;

Can you add $this->isArray() to condition to filter array values only when $this->isArray() set to true...


Scheduling for 1.6 release

Functionality added in r10675 to trunk and r10676 in 1.6 release branch.

Updating for the 1.6.0 release.