X7ROOT File Manager
Current Path:
/opt/alt/php52/usr/share/pear
opt
/
alt
/
php52
/
usr
/
share
/
pear
/
??
..
??
.channels
??
.depdb
(4.39 KB)
??
.depdblock
(0 B)
??
.filemap
(19.35 KB)
??
.lock
(0 B)
??
.pkgxml
??
.registry
??
Archive
??
Auth
??
Console
??
File
??
Mail
??
Mail.php
(9.65 KB)
??
Net
??
OS
??
PEAR
??
PEAR.php
(33.06 KB)
??
PEAR5.php
(1.06 KB)
??
Structures
??
System.php
(20.34 KB)
??
XML
??
data
??
pearcmd.php
(14.2 KB)
??
peclcmd.php
(1.01 KB)
??
test
Editing: PEAR5.php
<?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]; } }
Upload File
Create Folder