From:  tyra3l@gmail.com
Date:  03 Feb 2015 00:50:00 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[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 https://pear.php.net/bugs/bug.php?id=20488&edit=1

 ID:               20488
 Updated by:       tyra3l@gmail.com
 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
http://git.php.net/?p=php-
src.git;a=blob;f=UPGRADING;h=bb37a05d8aa8af3cc2e599acbd4ae0e7f52fbd33;hb=
4d3e4d3bf994739681613f9061d056e10f731b65

------------------------------------------------------------------------

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

Description:
------------
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 https://pear.php.net/bugs/bug.php?id=20488&edit=1