1
0
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:
Pierre Joye
2011-12-12 19:09:01 +00:00
parent 4e03e70575
commit 3a68270fcf
+1 -1
View File
@@ -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";
?>