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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: witekfl at gazeta dot pl
New email:
PHP Version: OS:

 

 [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: Fri Dec 02 22:03:43 2022 UTC