private function checkPearOrNoMatch($classNameSpace, $prefixLength, $prefix)
    {
        // No NS, separator in class namespace.
        if (!$classNameSpace) {
            return false;
        }

        if (substr($classNameSpace, 0, $prefixLength) === $prefix) {
            return false;
        }

        return true;
    }
private function checkPearOrNoMatch($classNameSpace, $prefixLength, $prefix)
    {
        // No NS, separator in class namespace.
        if (!$classNameSpace) {
            return false;
        }

        if (substr($classNameSpace, 0, $prefixLength) === $prefix) {
            return false;
        }

        return true;
    }
private function checkPearOrNoMatch ( $ classNameSpace , $ prefixLength , $ prefix ) { // No NS, separator in class namespace. if ( ! $ classNameSpace ) { return false ; } if ( substr ( $ classNameSpace , 0 , $ prefixLength ) === $ prefix ) { return false ; } return true ; }
Check if the class is PEAR style or does not match at all.

Return true if there is some problem, false otherwise.

@param string $classNameSpace The namespace of the class.

@param string $prefixLength   The length of the namespace that must match.

@param string $prefix         The required namespace prefix.

@return bool
Check if the class is PEAR style or does not match at all .