mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
fix #640, error in comment for getStaticProperty
This commit is contained in:
parent
3e56af98e0
commit
7c6b73ce38
@ -193,7 +193,7 @@ class PEAR
|
||||
/**
|
||||
* If you have a class that's mostly/entirely static, and you need static
|
||||
* properties, you can use this method to simulate them. Eg. in your method(s)
|
||||
* do this: $myVar = &PEAR::getStaticProperty('myVar');
|
||||
* do this: $myVar = &PEAR::getStaticProperty('myclass', 'myVar');
|
||||
* You MUST use a reference, or they will not persist!
|
||||
*
|
||||
* @access public
|
||||
|
Loading…
Reference in New Issue
Block a user