Home » PEAR » PEAR » Bug #640
a tiny error about the comment in pear.php
Details
| Submitted | 2004-01-29 08:42 UTC |
|---|---|
| From | mo2mo at 163 dot com |
| Assigned | cellog |
| Status | Closed |
| Package | PEAR |
| PHP Version | 4.3.3 |
| OS | windows2003 |
| Roadmaps | (Not assigned) |
Comments
[2004-01-29 08:42 UTC] mo2mo at 163 dot com
Description:
------------
the comment of PEAR::getStaticProperty said:
in your method(s) do this: $myVar = &PEAR::getStaticProperty('myVar');
but I think the arguments were not enough. The classname should be given
Reproduce code:
---------------
$myVar = &PEAR::getStaticProperty('myVar');
Expected result:
----------------
Warning: Missing argument 2 for getstaticproperty() in d:\EasyPHP\php\PEAR\PEAR.php on line 196