xref: /PHP-8.3/ext/spl/tests/bug48361.phpt (revision a555cc0b)
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--EXPECTF--
10string(%d) "%stests%sbug48361.php"
11string(%d) "%stests"
12