![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: Bug #48361 SpleFileInfo::getPathName should return the dirname's path 3: --FILE-- 4: <?php 5: $info = new SplFileInfo(__FILE__); 6: var_dump($info->getRealPath()); 7: var_dump($info->getPathInfo()->getRealPath()); 8: ?> 9: ===DONE=== 10: --EXPECTF-- 11: string(%d) "%stests%sbug48361.php" 12: string(%d) "%stests" 13: ===DONE=== 14: