CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/cwd/opt/cpanel/ea-php56/root/usr/share/tests/pear/File_Util/tests/Util/
Upload File :
Current File : //proc/2/cwd/opt/cpanel/ea-php56/root/usr/share/tests/pear/File_Util/tests/Util/realpath.phpt

--TEST--
File_Util::realPath()
--SKIPIF--
<?php
require_once 'File/Util.php';
if (FILE_WIN32) {
  die('SKIP This test is not for Windows');
}
?>
--FILE--
<?php
// $Id: $
require_once 'File/Util.php';

var_dump((('/a/weird/path/is' === File_Util::realpath('/a\\weird//path\is/that/./../', '/')) ? true : false));
var_dump((('/a/weird/path/is/that' == File_Util::realpath('/a\\weird//path\is/that/./../that/.', '/')) ? true : false));
?>
--EXPECT--
bool(true)
bool(true)

Copyright 2K16 - 2K18 Indonesian Hacker Rulez