mirror of
https://github.com/php/php-src.git
synced 2024-10-02 07:16:11 +00:00
15 lines
307 B
PHP
15 lines
307 B
PHP
--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===
|
|
|