mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
bab4957d1c
stream). (Derick, Wez)
13 lines
239 B
PHP
13 lines
239 B
PHP
--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!
|