mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
- use the test itself, making the test passes when ran outside the src tree
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
Bug #20424 (stream_get_meta_data crashes on a normal file stream)
|
||||
--FILE--
|
||||
<?php
|
||||
$f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r");
|
||||
$f = fopen(__FILE__, "r");
|
||||
$dummy = var_export(stream_get_meta_data($f), TRUE);
|
||||
echo "I'm alive!\n";
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user