php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81653 Typo in install-pear-nozlib.phar
Submitted: 2021-11-24 10:50 UTC Modified: 2021-11-24 11:11 UTC
From: witekfl at gazeta dot pl Assigned:
Status: Verified Package: *General Issues
PHP Version: 8.1.0RC6 OS: Linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-11-24 10:50 UTC] 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();
    }


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-11-24 11:11 UTC] cmb@php.net
-Status: Open +Status: Verified -Package: PHAR related +Package: *General Issues
 [2021-11-24 11:11 UTC] cmb@php.net
Thanks!  I've submitted a respective pull request[1].

[1] <https://github.com/pear/pear-core/pull/121>
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 20 07:03:34 2022 UTC