Date:  03 Feb 2015 00:50:00 Hong Kong Time

[PEAR-BUG] Bug #20488 [Opn]: go-pear.phar and install-pear-nozlib.phar are broken with php 7.0

NNTP-Posting-Host:  null

Edit report at

 ID:               20488
 Updated by:
 Reported By:      tyra3l at gmail dot com
 Summary:          	go-pear.phar and install-pear-nozlib.phar are broken
                    with php 7.0
 Status:           Open
 Type:             Bug
 Package:          PEAR
 Package Version:  SVN
 PHP Version:      HEAD SVN-2015-01-19
 Roadmap Versions: 
 New Comment:

4) removal of php4 constructors not yet voted/accepted (there is a
heated ongoing debate as we 
never deprecated it).
5) the current status is that we won't remove the ability to call
functions statically without marked as 
static, we will just won't "assume" $this from the caller context.

Previous Comments:

[2015-02-02 16:35:31] cweiske

Things to fix:
1. new-by-reference: &new
2. magic quotes 
3. ereg functions
4. constructor names; we have to use __construct()
5. mark static methods as static

See the UPGRADING file at


[2015-01-19 17:21:55] tyrael

there are a couple of BC breaks in the current php-src 
master(which will be PHP 7.0) which causes make install to fail 
when installing pear.
I've started working on a Pull Request against pear-core with the 
necessary changes to make it compatible with PHP 7.0, I will drop 
a comment when it is ready to be merged.


Edit this bug report at