php_stream_is -- Determines if a stream is of a particular type
Syntax
int php_stream_is ( php_stream * stream, int istype )
php_stream_is() returns 1 if stream is of
the type specified by istype, or 0 otherwise.
Table 63-1. Values for istype
Value
Meaning
PHP_STREAM_IS_STDIO
The stream is implemented using the stdio implementation
PHP_STREAM_IS_SOCKET
The stream is implemented using the network socket implementation
PHP_STREAM_IS_USERSPACE
The stream is implemented using the userspace object implementation
PHP_STREAM_IS_MEMORY
The stream is implemented using the grow-on-demand memory stream implementation
Note:
The PHP_STREAM_IS_XXX "constants" are actually defined as pointers to the underlying
stream operations structure. If your extension (or some other extension) defines additional
streams, it should also declare a PHP_STREAM_IS_XXX constant in it's header file that you
can use as the basis of this comparison.
Note:
This function is implemented as a simple (and fast) pointer comparison, and does not change
the stream state in any way.
See also php_stream_cast() and php_stream_can_cast().
Php streams.php stream is Function syntax tag
streams.php stream is php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php streams.php stream is syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.