Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
File_Util::realPath()
3
--SKIPIF--
4
<?php
5
require_once 'File/Util.php';
6
if (FILE_WIN32) {
7
  die('SKIP This test is not for Windows');
8
}
9
?>
10
--FILE--
11
<?php
12
// $Id: $
13
require_once 'File/Util.php';
14
 
15
var_dump((('/a/weird/path/is' === File_Util::realpath('/a\\weird//path\is/that/./../', '/')) ? true : false));
16
var_dump((('/a/weird/path/is/that' == File_Util::realpath('/a\\weird//path\is/that/./../that/.', '/')) ? true : false));
17
?>
18
--EXPECT--
19
bool(true)
20
bool(true)