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 » 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