Bug #81653 [Com]: Typo in install-pear-nozlib.phar
| From: | neskemiquel1456 at gmail dot com | Date: | Thu, 08 Dec 2022 05:48:38 +0000 |
| Subject: | Bug #81653 [Com]: Typo in install-pear-nozlib.phar | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-243070@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
Comment by: neskemiquel1456 at gmail dot com
Reported by: witekfl at gazeta dot pl
Summary: Typo in install-pear-nozlib.phar
Status: Verified
Type: Bug
Package: *General Issues
Operating System: Linux
PHP Version: 8.1.0RC6
Block user comment: N
Private report: N
New Comment:
I appreciate the information and advice you have shared.
<https://www.pricechopperdirectconnect.net/>github.com
Previous Comments:
------------------------------------------------------------------------
[2021-11-24 11:11:10] cmb@php.net
Thanks! I've submitted a respective pull request[1].
[1] <https://github.com/pear/pear-core/pull/121>
------------------------------------------------------------------------
[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