Bug #79869 [Com]: Unsupported operand types: array & int in install-pear-nozlib.phar
Edit report at https://bugs.php.net/bug.php?id=79869&edit=1
ID: 79869
Comment by: brian at artinfact dot com
Reported by: ueli at whatwedo dot ch
Summary: Unsupported operand types: array & int in
install-pear-nozlib.phar
Status: No Feedback
Type: Bug
Package: *Compile Issues
Operating System: Alpine Linux 3.12
PHP Version: 8.0.0alpha2
Assigned To: ashnazg
Block user comment: N
Private report: N
New Comment:
In case it's appropriate to tack on this bug report, I encountered these two warnings but was
able to proceed with installation when using PHP 8.0.10 to install pear (using go-pear.phar taken
from pearweb_phars-1.10.21).
PHP Warning: Private methods cannot be final as they are never overridden by other classes in
C:\PHP\php-8.0.10-Win32-vs16-x64\go-pear.phar on line 339
Warning: Private methods cannot be final as they are never overridden by other classes in
C:\PHP\php-8.0.10-Win32-vs16-x64\go-pear.phar on line 339
Previous Comments:
------------------------------------------------------------------------
[2021-08-22 04:22:10] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
------------------------------------------------------------------------
[2021-08-08 14:38:02] ashnazg@php.net
I have the pearweb_phars updated on the PEAR website... v1.10.20 now contains the updated
Archive_Tar v1.4.14.
See if this solves your issue.
------------------------------------------------------------------------
[2021-07-08 10:10:04] cmb@php.net
According to <https://github.com/pear/PHP_Archive/pull/4>,
this
issue has been fixed, but maybe there are more such cases.
Anyhow, there appears to be an issue with PEAR.
<https://pear.php.net/install-pear-nozlib.phar>
still has
Archive_Tar 1.4.9, although 1.4.13 is latest, so php-src
distributes the old version.
Maybe Christian can help?
------------------------------------------------------------------------
[2021-07-08 09:05:29] liam dot gretton at gmail dot com
This problem still exists in PHP 8.0.8:
Installing man pages: /opt/php8/share/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: %{phpconfdir}/pear/php/
Fatal error: Uncaught TypeError: Unsupported operand types: array & int in
/home/liam/downloads/php8/php-8.0.8/pear/install-pear-nozlib.phar:517
Stack trace:
#0 /home/liam/downloads/php8/php-8.0.8/pear/install-pear-nozlib.phar(454):
PHP_Archive::_unserializeManifest('F\x00\x00\x00\x11\x00\x00\x00\x01\x00\x18\x00\x00\x00i...')
#1 /home/liam/downloads/php8/php-8.0.8/pear/install-pear-nozlib.phar(414):
PHP_Archive::_mapPhar('/home/liam/dow...', 43987)
#2 /home/liam/downloads/php8/php-8.0.8/pear/install-pear-nozlib.phar(1164):
PHP_Archive::mapPhar(NULL, 43987)
#3 {main}
thrown in /home/liam/downloads/php8/php-8.0.8/pear/install-pear-nozlib.phar on line 517
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
------------------------------------------------------------------------
[2021-04-13 12:03:57] cmb@php.net
This has apparently been fixed a while ago.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=79869
--
Edit this bug report at https://bugs.php.net/bug.php?id=79869&edit=1
Thread (10 messages)