mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- use the test itself, making the test passes when ran outside the src tree
This commit is contained in:
parent
4e03e70575
commit
3a68270fcf
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
Bug #20424 (stream_get_meta_data crashes on a normal file stream)
|
Bug #20424 (stream_get_meta_data crashes on a normal file stream)
|
||||||
--FILE--
|
--FILE--
|
||||||
<?php
|
<?php
|
||||||
$f = fopen(dirname(__FILE__) . "/../../../../run-tests.php", "r");
|
$f = fopen(__FILE__, "r");
|
||||||
$dummy = var_export(stream_get_meta_data($f), TRUE);
|
$dummy = var_export(stream_get_meta_data($f), TRUE);
|
||||||
echo "I'm alive!\n";
|
echo "I'm alive!\n";
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue