PEAR clases don't work with PHP 5.3
| From: | Martín Marqués | Date: | Fri, 05 Mar 2010 15:11:19 +0000 |
| Subject: | PEAR clases don't work with PHP 5.3 | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30366@lists.php.net to get a copy of this message | ||
a few days ago I upgraded my development server with PHP 5.3, and
found that some pear packages stopped working giving FATAL ERRORs,
like this (this one is from package Image_Graph):
PHP Fatal error: Call to undefined method
Image_Graph_Plotarea_Element::Image_Graph_Element() in
/usr/share/php/Image/Graph/Layout.php on line 73
I found that the problem is when calling the parents constructors like
parent::ClassName.
Changing that fixes the problem, but there are alot of clases with this problem.
Are these problems being addressed?
--
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador