PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #5019

fatal error due api changes in php5.1/php4.4

Details

Submitted2005-08-06 19:44 UTC
Fromsoenke at regelt dot com
StatusDuplicate
PackagePEAR
PHP Version5_1 CVS-2005-08-06
OSLinux
Roadmaps(Not assigned)

Comments

[2005-08-06 19:44 UTC] soenke at regelt dot com

Description:
------------
When using the pear command line tool, PHP throws a fatal error:

PHP Fatal error: Only variables can be passed by reference in /usr/lib/php/PEAR/PackageFile/Generator/v1.php on line 1078

(PEAR Version is 1.4.0a12)

There are two lines that wont work with PHP 5.1 (1078 and 1084).

After solving the issue with a temp array everything works fine again.