mirror of
https://github.com/php/php-src.git
synced 2024-10-22 08:47:29 +00:00
14 lines
184 B
Plaintext
14 lines
184 B
Plaintext
|
--TEST--
|
||
|
realpath() with relative directory
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
var_dump(realpath('.') == getcwd());
|
||
|
chdir('..');
|
||
|
var_dump(realpath('.') == getcwd());
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
bool(true)
|
||
|
bool(true)
|