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