xref: /PHP-8.1/ext/standard/tests/file/bug20424.phpt (revision 3a68270f)
1--TEST--
2Bug #20424 (stream_get_meta_data crashes on a normal file stream)
3--FILE--
4<?php
5$f = fopen(__FILE__, "r");
6$dummy = var_export(stream_get_meta_data($f), TRUE);
7echo "I'm alive!\n";
8?>
9--EXPECT--
10I'm alive!
11