![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: realpath() with relative directory 3: --FILE-- 4: <?php 5: 6: var_dump(realpath('.') == realpath(getcwd())); 7: chdir('..'); 8: var_dump(realpath('.') == realpath(getcwd())); 9: 10: ?> 11: --EXPECT-- 12: bool(true) 13: bool(true)