php_stream_can_cast -- Determines if a stream can be converted into another form, such as a FILE* or socket
Syntax
int php_stream_can_cast ( php_stream * stream, int castas )
This function is equivalent to calling php_stream_cast() with ret
set to NULL and flags set to 0.
It returns SUCCESS if the stream can be converted into the form requested, or
FAILURE if the conversion cannot be performed.
Note:
Although this function will not perform the conversion, some internal stream state *might* be
changed by this call.
Note:
You must explicitly compare the return value of this function with one of the constants, as described
in php_stream_cast().
See also php_stream_cast() and php_stream_is().
Php streams.php stream can cast Function syntax tag
streams.php stream can cast 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 can cast 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.