跳转到主要内容

WP_CLI\Utils\is_stream()

Check if a path is a PHP stream URL.


Usage

WP_CLI\Utils\is_stream( $path )
$path (string) The resource path or URL.
@return (bool) if the path is a PHP stream URL, false otherwise.

Internal API documentation is generated from the WP-CLI codebase on every release. To suggest improvements, please submit a pull request.