<?php /** * This is only meant for PHP 5 to get rid of certain strict warning * that doesn't get hidden since it's in the shutdown function */ class PEAR5 { /** * 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 = &PEAR5::getStaticProperty('myclass', 'myVar'); * You MUST use a reference, or they will not persist! * * @access public * @param string $class The calling classname, to prevent clashes * @param string $var The variable to retrieve. * @return mixed A reference to the variable. If not set it will be * auto initialised to NULL. */ static function &getStaticProperty($class, $var) { static $properties; if (!isset($properties[$class])) { $properties[$class] = array(); } if (!array_key_exists($var, $properties[$class])) { $properties[$class][$var] = null; } return $properties[$class][$var]; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.channels | Folder | 0755 |
|
|
.pkgxml | Folder | 0755 |
|
|
.registry | Folder | 0755 |
|
|
Archive | Folder | 0755 |
|
|
Auth | Folder | 0755 |
|
|
Console | Folder | 0755 |
|
|
Folder | 0755 |
|
||
Net | Folder | 0755 |
|
|
OS | Folder | 0755 |
|
|
PEAR | Folder | 0755 |
|
|
Structures | Folder | 0755 |
|
|
Symfony | Folder | 0755 |
|
|
XML | Folder | 0755 |
|
|
data | Folder | 0755 |
|
|
ezc | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
.depdb | File | 12.91 KB | 0644 |
|
.depdblock | File | 0 B | 0644 |
|
.filemap | File | 383.27 KB | 0644 |
|
.lock | File | 0 B | 0644 |
|
Mail.php | File | 9.65 KB | 0644 |
|
PEAR.php | File | 33.06 KB | 0644 |
|
PEAR5.php | File | 1.06 KB | 0644 |
|
System.php | File | 20.34 KB | 0644 |
|
pearcmd.php | File | 14.2 KB | 0644 |
|
peclcmd.php | File | 1.01 KB | 0644 |
|