PHP 4 NEWS
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
? ? ??? 200?, Version 4.4.0
+- Fixed bug #20424 (stream_get_meta_data craches on a normal file stream).
+ (Derick, Wez)
- Added imagefilter() function which allows application of various filters.
This function is only available with bundled GD. (Pierre-Alain Joye, Ilia)
--- /dev/null
+--TEST--
+Bug #20424: stream_get_meta_data craches on a normal file stream
+--POST--
+--GET--
+--FILE--
+<?php
+$f = fopen("run-tests.php", "r");
+$dummy = var_export(stream_get_meta_data($f), TRUE);
+echo "I'm alive!\n";
+?>
+--EXPECT--
+I'm alive!
NULL,
NULL,
php_plain_files_url_stater,
- php_plain_files_dir_opener
+ php_plain_files_dir_opener,
+ "plainfile"
};
static php_stream_wrapper php_plain_files_wrapper = {