PageRenderTime 50ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/2.0/Tests/FileSystem/realpath.php

#
PHP | 16 lines | 13 code | 3 blank | 0 comment | 0 complexity | e06c0ceb5fffea80cbb97f21bce2e872 MD5 | raw file
Possible License(s): CPL-1.0, GPL-2.0, CC-BY-SA-3.0, MPL-2.0-no-copyleft-exception, Apache-2.0
  1. [expect php]
  2. [file]
  3. <?php
  4. echo realpath("C:") . "\n";
  5. echo realpath("C:\\") . "\n";
  6. echo realpath("C:/") . "\n";
  7. echo strtoupper(realpath('C:\windows\explorer.exe')) . "\n";
  8. echo realpath('someotherfile') . "\n";
  9. echo realpath(".") . "\n";
  10. echo realpath(".\\") . "\n";
  11. echo realpath("./") . "\n";
  12. echo realpath("http://www.google.com/") . "\n";
  13. ?>