summaryrefslogtreecommitdiff
path: root/ext/spl/tests/bug48361.phpt
blob: 44b05abba1e91070340e2ae69de081b530f54e44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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===