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