xref: /PHP-5.4/ext/spl/tests/bug48361.phpt (revision a5d361e3)
1--TEST--
2SPL: Bug #48361 SpleFileInfo::getPathName should return the dirname's path
3--FILE--
4<?php
5$info = new SplFileInfo(__FILE__);
6var_dump($info->getRealPath());
7var_dump($info->getPathInfo()->getRealPath());
8?>
9===DONE===
10--EXPECTF--
11string(%d) "%stests%sbug48361.php"
12string(%d) "%stests"
13===DONE===
14
15