SimpleXMLElement::addAttribute

(PHP 5 >= 5.1.3, PHP 7) Adds an attribute to the SimpleXML element public void SimpleXMLElement::addAttribute ( string $name [, string $value [, string $namespace ]] ) Adds an attribute to the SimpleXML element. Parameters: name The name of the attribute to add. value The value of the attribute. namespace

sqlite_valid

(PHP 5 < 5.4.0) Returns whether more rows are available bool sqlite_valid ( resource $result ) Object oriented style (method): bool SQLiteResult::valid ( void ) bool SQLiteUnbuffered::valid ( void ) Finds whether more rows are available from the given result handle. Parameters: result The SQLite result resource. This parameter is not required when using the object-or

SDO_DAS_Setting::getListIndex

(^) Get the list index for a changed many-valued property int SDO_DAS_Setting::getListIndex ( void ) Get the list index for a modification made to an element of a many-valued property. For example, if we modified the third element of a many-valued property we could obtain an SDO_DAS_Setting from the change summary corresponding to that modification. A call to getListIndex() on that setting would return the value 2 (lists a

svn_cleanup

(PECL svn >= 0.1.0) Recursively cleanup a working copy directory, finishing incomplete operations and removing locks bool svn_cleanup ( string $workingdir ) Recursively cleanup working copy directory workingdir, finishing any incomplete operations and removing working copy locks. Use when a working copy is in limbo and needs to be usable again. Parameters: workingdir S

DirectoryIterator::isDir

(PHP 5, PHP 7) Determine if current DirectoryIterator item is a directory public bool DirectoryIterator::isDir ( void ) Determines if the current DirectoryIterator item is a directory. Returns: Returns TRUE if it is a directory, otherwise FALSE Examples: DirectoryIterator::isDir() example This example lists the directories

MongoClient::listDBs

(PECL mongo >=1.3.0) Lists all of the databases available. public array MongoClient::listDBs ( void ) Returns: Returns an associative array containing three fields. The first field is databases, which in turn contains an array. Each element of the array is an associative array corresponding to a database, giving th database's name, size, and if it's empty. The other two fields are totalSize (in b

PharData::compress

(PHP >= 5.3.0, PECL phar >= 2.0.0) Compresses the entire tar/zip archive using Gzip or Bzip2 compression object PharData::compress ( int $compression [, string $extension ] ) For tar archives, this method compresses the entire archive using gzip compression or bzip2 compression. The resulting file can be processed with the gunzip command/bunzip command, or accessed directly and transparently with the Phar extension.

PDOStatement::fetch

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 0.1.0) Fetches the next row from a result set public mixed PDOStatement::fetch ([ int $fetch_style [, int $cursor_orientation = PDO::FETCH_ORI_NEXT [, int $cursor_offset = 0 ]]] ) Fetches a row from a result set associated with a PDOStatement object. The fetch_style parameter determines how PDO returns the row. Parameters: fetch_style

stream_context_get_default

(PHP 5 >= 5.1.0, PHP 7) Retrieve the default stream context resource stream_context_get_default ([ array $options ] ) Returns the default stream context which is used whenever file operations (fopen(), file_get_contents(), etc...) are called without a context parameter. Options for the default context can optionally be specified with this function using the same syntax as stream_context_create(). Paramete

EventListener::setCallback

(PECL event >= 1.2.6-beta) The setCallback purpose public void EventListener::setCallback ( callable $cb [, mixed $arg = NULL ] ) Adjust event connect listener's callback and optionally the callback argument. Parameters: cb The new callback for new connections. Ignored if NULL. Should match the following prototype: void callback ([ EventListener $listener = NU