Search Results
wrapper_data (mixed) - wrapper specific data attached to this stream. See Supported Protocols and Wrappers for more information about wrappers and their wrapper data. mode (string) - the type of access required for this stream (see Table 1 of the fopen () reference) seekable (bool) - whether the current stream can be seeked.
Jul 11, 2025 · Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.
Execute stream_get_meta_data Online. Info and examples on stream_get_meta_data PHP Function from Streams - Other Basic Extensions
wrapper_data (mixed) - wrapper specific data attached to this stream. See Supported Protocols and Wrappers for more information about wrappers and their wrapper data. mode (string) - the type of access required for this stream (see Table 1 of the fopen () reference) seekable (bool) - whether the current stream can be seeked.
Availability in versions: PHP 4.3.0 Retrieves header/meta data from streams/file pointers Parameters ... Return values array The result array contains the following items: timed_out (bool) - true if the stream timed out while waiting for data on the last call to fread or fgets. blocked (bool) - true if the stream is in blocking IO mode.
Description The stream_get_meta_data of Stream for PHP retrieves header/meta data from streams/file pointers.
Simple usage example of `stream_get_meta_data ()`. The `stream_get_meta_data` is a PHP function that allows you to retrieve the header/meta data from streams or file pointers. It provides information such as the file size, MIME type, wrapper type, and more, about the resource being accessed.
