1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 09:12:14 +01:00
Files
archived-php-src/ext/standard/tests/file/realpath_basic2.phpt
2008-03-19 17:25:47 +00:00

14 lines
184 B
PHP

--TEST--
realpath() with relative directory
--FILE--
<?php
var_dump(realpath('.') == getcwd());
chdir('..');
var_dump(realpath('.') == getcwd());
?>
--EXPECT--
bool(true)
bool(true)