Bug #81653 [Opn->Ver]: Typo in install-pear-nozlib.phar

From: Date: Wed, 24 Nov 2021 11:11:10 +0000
Subject: Bug #81653 [Opn->Ver]: Typo in install-pear-nozlib.phar
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237960@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81653&edit=1

 ID:                 81653
 Updated by:         cmb@php.net
 Reported by:        witekfl at gazeta dot pl
 Summary:            Typo in install-pear-nozlib.phar
-Status:             Open
+Status:             Verified
 Type:               Bug
-Package:            PHAR related
+Package:            *General Issues
 Operating System:   Linux
 PHP Version:        8.1.0RC6
 Block user comment: N
 Private report:     N

 New Comment:

Thanks!  I've submitted a respective pull request[1].

[1] <https://github.com/pear/pear-core/pull/121>


Previous Comments:
------------------------------------------------------------------------
[2021-11-24 10:50:30] witekfl at gazeta dot pl

Description:
------------
In this function:
    function _readGlibCVersionFromFeaturesHeaderFile()
    {
        $features_header_file = '/usr/include/features.h';
        if (!(@file_exists($features_header_file)
            && @is_readable($features_header_file))
        ) {
            return array();
        }
        if (!@file_exists('/usr/bin/cpp') || !@is_executable('/usr/bin/cpp')) {
            return $this-_parseFeaturesHeaderFile($features_header_file);

            HERE ^ there is no > character after $this




        } // no cpp

        return $this->_fromGlibCTest();
    }



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81653&edit=1


Thread (19 messages)

« previous php.bugs (#237960) next »