public function detectClientExtension()
    {
        // Check if FirePHP is installed on client via User-Agent header
        if (@preg_match_all('/\sFirePHP\/([\.\d]*)\s?/si',$this->getUserAgent(),$m) &&
           version_compare($m[1][0],'0.0.6','>=')) {
            return true;
        } else
        // Check if FirePHP is installed on client via X-FirePHP-Version header
        if (@preg_match_all('/^([\.\d]*)$/si',$this->getRequestHeader("X-FirePHP-Version"),$m) &&
           version_compare($m[1][0],'0.0.6','>=')) {
            return true;
        }
        return false;
    }
public function detectClientExtension()
    {
        // Check if FirePHP is installed on client via User-Agent header
        if (@preg_match_all('/\sFirePHP\/([\.\d]*)\s?/si',$this->getUserAgent(),$m) &&
           version_compare($m[1][0],'0.0.6','>=')) {
            return true;
        } else
        // Check if FirePHP is installed on client via X-FirePHP-Version header
        if (@preg_match_all('/^([\.\d]*)$/si',$this->getRequestHeader("X-FirePHP-Version"),$m) &&
           version_compare($m[1][0],'0.0.6','>=')) {
            return true;
        }
        return false;
    }
public function detectClientExtension ( ) { // Check if FirePHP is installed on client via User-Agent header if ( @ preg_match_all ( '/\sFirePHP\/([\.\d]*)\s?/si' , $ this -> getUserAgent ( ) , $ m ) && version_compare ( $ m [ 1 ] [ 0 ] , '0.0.6' , '>=' ) ) { return true ; } else // Check if FirePHP is installed on client via X-FirePHP-Version header if ( @ preg_match_all ( '/^([\.\d]*)$/si' , $ this -> getRequestHeader ( "X-FirePHP-Version" ) , $ m ) && version_compare ( $ m [ 1 ] [ 0 ] , '0.0.6' , '>=' ) ) { return true ; } return false ; }
Check if FirePHP is installed on client

@return boolean
Check if FirePHP is installed on client