No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

streamWrapper::url_stat

(PHP 4 >= 4.3.2, PHP 5, PHP 7)

streamWrapper::url_statRetrieve information about a file

PHP: streamWrapper::url_stat - Manual Home of Manuel PHP  Contents Haut

Parameters

path

The file path or URL to stat. Note that in the case of a URL, it must be a :// delimited URL. Other URL forms are not supported.

flags

Holds additional flags set by the streams API. It can hold one or more of the following values OR'd together.

Flag Description
STREAM_URL_STAT_LINK For resources with the ability to link to other resource (such as an HTTP Location: forward, or a filesystem symlink). This flag specified that only information about the link itself should be returned, not the resource pointed to by the link. This flag is set in response to calls to lstat(), is_link(), or filetype().
STREAM_URL_STAT_QUIET If this flag is set, your wrapper should not raise any errors. If this flag is not set, you are responsible for reporting errors using the trigger_error() function during stating of the path.

PHP: streamWrapper::url_stat - Manual Home of Manuel PHP  Contents Haut

Return Values

Should return as many elements as stat() does. Unknown or unavailable values should be set to a rational value (usually 0).

PHP: streamWrapper::url_stat - Manual Home of Manuel PHP  Contents Haut

Errors/Exceptions

Emits E_WARNING if call to this method fails (i.e. not implemented).

PHP: streamWrapper::url_stat - Manual Home of Manuel PHP  Contents Haut

Notes

Note:

The streamWrapper::$context property is updated if a valid context is passed to the caller function.

PHP: streamWrapper::url_stat - Manual Home of Manuel PHP  Contents Haut

See Also

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph