classkit_method_redefine

(PECL classkit >= 0.1) Dynamically changes the code of the given method bool classkit_method_redefine ( string $classname, string $methodname, string $args, string $code [, int $flags = CLASSKIT_ACC_PUBLIC ] ) Note: This function cannot be used to manipulate the currently running (or chained) method. Parameters: classname The class in which to redefine the

pg_options

(PHP 4, PHP 5, PHP 7) Get the options associated with the connection string pg_options ([ resource $connection ] ) pg_options() will return a string containing the options specified on the given PostgreSQL connection resource. Parameters: connection PostgreSQL database connection resource. When connection is not present, the default connection is used. The default connect

ReflectionClass::getDefaultProperties

(PHP 5, PHP 7) Gets default properties public array ReflectionClass::getDefaultProperties ( void ) Gets default properties from a class (including inherited properties). Note: This method only works for static properties when used on internal classes. The default value of a static class property can not be tracked when using this method on user defined classes. Returns: An array of default pr

SWFDisplayItem::setRatio

(PHP 5 <= 5.3.0, PECL ming SVN) Sets the object's ratio void SWFDisplayItem::setRatio ( float $ratio ) swfdisplayitem::setratio() sets the object's ratio to ratio. Obviously only useful for morphs. The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie::add(). Returns: No value is returned.

spl_classes

(PHP 5, PHP 7) Return available SPL classes array spl_classes ( void ) This function returns an array with the current available SPL classes. Returns: Returns an array containing the currently available SPL classes. Examples: spl_classes() example <?php print_r(spl_classes()); ?> The above example will output s

lstat

(PHP 4, PHP 5, PHP 7) Gives information about a file or symbolic link array lstat ( string $filename ) Gathers the statistics of the file or symbolic link named by filename. Parameters: filename Path to a file or a symbolic link. Returns: See the manual page for stat() for information on the structure of the array that lstat() returns. This funct

QuickHashIntStringHash::loadFromString

(PECL quickhash >= Unknown) This factory method creates a hash from a string public static QuickHashIntStringHash QuickHashIntStringHash::loadFromString ( string $contents [, int $size = 0 [, int $options = 0 ]] ) This factory method creates a new hash from a definition in a string. The format is the same as the one used in "loadFromFile". Parameters: contents The st

Autoloading Classes

Examples: Autoload example Note: Prior to PHP 5.3, exceptions thrown in the __autoload() function could not be caught in the catch block and would result in a fatal error. From PHP 5.3 and upwards, this is possible provided that if a custom exception is thrown, then the custom exception class is available. The __autoload() function may be used recursively to autoload the custom exception class. Note: Autoloading is not available if using PHP in CLI interactive m

ZipArchive::unchangeAll

(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0) Undo all changes done in the archive bool ZipArchive::unchangeAll ( void ) Undo all changes done in the archive. Returns: Returns TRUE on success or FALSE on failure.

ps_moveto

(PECL ps >= 1.1.0) Sets current point bool ps_moveto ( resource $psdoc, float $x, float $y ) Sets the current point to new coordinates. If this is the first call of ps_moveto() after a previous path has been ended then it will start a new path. If this function is called in the middle of a path it will just set the current point and start a subpath. Parameters: psdoc R