mirror of
https://github.com/php/php-src.git
synced 2024-10-19 15:34:25 +00:00
15 lines
220 B
Plaintext
15 lines
220 B
Plaintext
|
--TEST--
|
||
|
fopen() with relative path on a file in the script directory
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$file = basename(__FILE__);
|
||
|
|
||
|
$fd = fopen($file, "r", true);
|
||
|
var_dump($fd);
|
||
|
fclose($fd);
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
resource(%d) of type (stream)
|