Global space

(PHP 5 >= 5.3.0, PHP 7) Examples: Using global space specification Without any namespace definition, all class and function definitions are placed into the global space - as it was in PHP before namespaces were supported. Prefixing a name with \ will specify that the name is required from the global space even in the context of the namespace. <?php namespace A\B\C; /* This functi

EventHttp::setCallback

(PECL event >= 1.4.0-beta) Sets a callback for specified URI public void EventHttp::setCallback ( string $path , string $cb [, string $arg ] ) Sets a callback for specified URI. Parameters: path The path for which to invoke the callback. cb The callback callable that gets invoked on requested path . It should match the following p

CachingIterator::offsetSet

(PHP 5 >= 5.2.0, PHP 7) The offsetSet purpose public void CachingIterator::offsetSet ( string $index, string $newval ) Parameters: index The index of the element to be set. newval The new value for the index. Returns: No value is returned. This function is currently not do

ImagickPixel::isPixelSimilar

(No version information available, might only be in Git) Check the distance between this color and another bool ImagickPixel::isPixelSimilar ( ImagickPixel $color, float $fuzz ) Checks the distance between the color described by this ImagickPixel object and that of the provided object, by plotting their RGB values on the color cube. If the distance between the two points is less than the fuzz value given, the colors are simi

VarnishAdmin::stop

(PECL varnish >= 0.3) Stop varnish worker process public int VarnishAdmin::stop ( void ) Returns: Returns the varnish command status.

streamWrapper::stream_tell

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Retrieve the current position of a stream public int streamWrapper::stream_tell ( void ) This method is called in response to fseek() to determine the current position. Returns: Should return the current position of the stream.

vpopmail_alias_del

(PHP 4 >= 4.0.7, PECL vpopmail >= 0.2) Deletes all virtual aliases of a user bool vpopmail_alias_del ( string $user, string $domain ) This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. This functi

OAuthProvider::__construct

(PECL OAuth >= 1.0.0) Constructs a new OAuthProvider object public OAuthProvider::__construct ([ array $params_array ] ) Initiates a new OAuthProvider object. Parameters: params_array Setting these optional parameters is limited to the CLI SAPI. Returns: An OAuthProvider object. This function is currently n

EventBase::dispatch

(PECL event >= 1.2.6-beta) Dispatch pending events public void EventBase::dispatch ( void ) Wait for events to become active, and run their callbacks. The same as EventBase::loop() with no flags set. Returns: Returns TRUE on success. Otherwise FALSE. Do NOT destroy the EventBase object as long as resources of the associated Event objects are not released.

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