![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #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); ! 7: echo "I'm alive!\n"; ! 8: ?> ! 9: --EXPECT-- ! 10: I'm alive!