Home » PEAR » PEAR_PackageFileManager » Bug #6028
incompatability with php5
Details
| Submitted | 2005-11-21 22:48 UTC |
|---|---|
| From | tomas dot varaneckas at gmail dot com |
| Assigned | farell |
| Status | Closed |
| Package | PEAR_PackageFileManager |
| PHP Version | 5.0.5 |
| OS | Linux Debian |
| Roadmaps | (Not assigned) |
Comments
[2005-11-21 22:48 UTC] tomas dot varaneckas at gmail dot com
Description:
------------
// $Id: File.php,v 1.21 2005/03/28 06:37:35 cellog Exp $
File.php line 108:
$ext = array_pop(explode('.', $file));
as php5 requires reference as input for array_pop, function output cannot be assigned.
Quick fix:
$ext = array_pop($array = explode('.', $file));