streamWrapper::dir_readdir

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Read entry from directory handle public string streamWrapper::dir_readdir ( void ) This method is called in response to readdir(). Returns: Should return string representing the next filename, or FALSE if there is no next file. Note: The return value will be casted to string. Exception: Emits E_WARNING if call to this method f

streamWrapper::dir_opendir

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Open directory handle public bool streamWrapper::dir_opendir ( string $path, int $options ) This method is called in response to opendir(). Parameters: path Specifies the URL that was passed to opendir(). Note: The URL can be broken apart with parse_url(). options Whether or not to enforce safe_mod

streamWrapper::dir_closedir

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Close directory handle public bool streamWrapper::dir_closedir ( void ) This method is called in response to closedir(). Any resources which were locked, or allocated, during opening and use of the directory stream should be released. Returns: Returns TRUE on success or FALSE on failure. See also:

streamWrapper::__destruct

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Destructs an existing stream wrapper streamWrapper::__destruct ( void ) Called when closing the stream wrapper, right before streamWrapper::stream_flush().

streamWrapper::__construct

(PHP 4 >= 4.3.2, PHP 5, PHP 7) Constructs a new stream wrapper streamWrapper::__construct ( void ) Called when opening the stream wrapper, right before streamWrapper::stream_open().

php_user_filter::onCreate

(PHP 5, PHP 7) Called when creating the filter public bool php_user_filter::onCreate ( void ) This method is called during instantiation of the filter class object. If your filter allocates or initializes any other resources (such as a buffer), this is the place to do it. When your filter is first instantiated, and yourfilter->onCreate() is called, a number of properties will be available as shown in the table below. P

php_user_filter::onClose

(PHP 5, PHP 7) Called when closing the filter public void php_user_filter::onClose ( void ) This method is called upon filter shutdown (typically, this is also during stream shutdown), and is executed after the flush method is called. If any resources were allocated or initialized during onCreate() this would be the time to destroy or dispose of them. Returns: Return value is ignored.

php_user_filter::filter

(PHP 5, PHP 7) Called when applying the filter public int php_user_filter::filter ( resource $in, resource $out, int &$consumed, bool $closing ) This method is called whenever data is read from or written to the attached stream (such as with fread() or fwrite()). Parameters: in in is a resource pointing to a bucket brigade which contains one or more bucket objects con

SplEnum::getConstList

(PECL spl_types >= 0.1.0) Returns all consts (possible values) as an array. public array SplEnum::getConstList ([ bool $include_default = false ] ) Parameters: include_default Whether to include __default property. Returns: This function is currently not documented; only its argument list is available.

SplType::__construct

(PECL spl_types >= 0.1.0) Creates a new value of some type SplType::__construct ([ mixed $initial_value [, bool $strict ]] ) Parameters: initial_value Type and default value depends on the extension class. strict Whether to set the object's sctrictness. This function is currently not documen