PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » PEAR » PEAR » Bug #640

a tiny error about the comment in pear.php

Details

Submitted2004-01-29 08:42 UTC
Frommo2mo at 163 dot com
Assignedcellog
StatusClosed
PackagePEAR
PHP Version4.3.3
OSwindows2003
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