1--TEST--
2Test getcwd() function : basic functionality
3--SKIPIF--
4<?php
5if (substr(PHP_OS, 0, 3) != 'WIN') {
6  die("skip Valid only on Windows");
7}
8?>
9--FILE--
10<?php
11/*
12 * Test basic functionality of getcwd()
13 */
14
15echo "*** Testing getcwd() : basic functionality ***\n";
16
17//create temporary directory for test, removed in CLEAN section
18$directory = __DIR__ . "/私はガラスを食べられますgetcwd_basic";
19mkdir($directory);
20
21var_dump(getcwd());
22chdir($directory);
23var_dump(getcwd());
24?>
25--CLEAN--
26<?php
27$directory = __DIR__ . "/私はガラスを食べられますgetcwd_basic";
28rmdir($directory);
29?>
30--EXPECTF--
31*** Testing getcwd() : basic functionality ***
32string(%d) "%s"
33string(%d) "%s%e私はガラスを食べられますgetcwd_basic"
34