php_stream_can_cast(no version information, might be only in CVS) php_stream_can_cast -- Determines if a stream can be converted into another form, such as a FILE* or socketDescriptionint 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.
See also php_stream_cast() and php_stream_is(). | ||||||||||
|