Home » Web Services » XML_RPC2 » Bug #8499
Static function defined as abstract in RPC2\Backend\Php\Value.php line 279
Details
| Submitted | 2006-08-18 09:03 UTC |
|---|---|
| From | markhewitt at file56 dot com |
| Assigned | sergiosgc |
| Status | Closed |
| Package | XML_RPC2 |
| PHP Version | 5.2.0 RC1 |
| OS | Windows 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.