Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.10.15

Bug #20488 go-pear.phar and install-pear-nozlib.phar are broken with php 7.0
Submitted: 2015-01-19 22:21 UTC
From: tyrael Assigned: cweiske
Status: Closed Package: PEAR (version SVN)
PHP Version: HEAD SVN-2015-01-19 OS:
Roadmaps: 1.10.0    
Subscription  


 [2015-01-19 22:21 UTC] tyrael (Ferenc Kovacs)
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.

Comments

 [2015-02-02 21:35 UTC] cweiske (Christian Weiske)
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-02-02 21:50 UTC] tyrael (Ferenc Kovacs)
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.
 [2015-02-06 13:37 UTC] cweiske (Christian Weiske)
2 + 3 have been fixed in pear-core stable branch.
 [2015-02-16 02:45 UTC] cweiske (Christian Weiske)
1. has been fixed (new by reference &new) 4. has been fixed (PHP4 constructor names)
 [2015-07-16 04:34 UTC] cweiske (Christian Weiske)
 [2015-07-21 00:12 UTC] cweiske (Christian Weiske)
6. has been fixed.
 [2015-07-25 17:55 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske -Roadmap Versions: +Roadmap Versions: 1.10.0
Fixed in 1.10.0dev1