PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » XML_RPC2 » Bug #8499

Static function defined as abstract in RPC2\Backend\Php\Value.php line 279

Details

Submitted2006-08-18 09:03 UTC
Frommarkhewitt at file56 dot com
Assignedsergiosgc
StatusClosed
PackageXML_RPC2
PHP Version5.2.0 RC1
OSWindows XP Pro
Roadmaps(Not assigned)

Comments

[2006-08-18 09:03 UTC] markhewitt at file56 dot com

Description:
------------
Line 279 of RPC2\Backend\Php\Value.php in the 0.0.7 Alpha package defines function decode as "public static abstract function decode($xml)".

This causes a compile error, and AFAIK a static can be declared abstract. The problem goes away with...

public static function decode($xml)
{
}

This may already be be fixed in CVS

[2006-12-02 18:06 UTC] sergiosgc at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Damn PHP changing compiler rules without warning. This is a compiler limitation. I've removed the method declaration as a workaround.