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/* Prototype  : mixed getcwd(void)
12 * Description: Gets the current directory
13 * Source code: ext/standard/dir.c
14 */
15
16/*
17 * Test basic functionality of getcwd()
18 */
19
20echo "*** Testing getcwd() : basic functionality ***\n";
21
22//create temporary directory for test, removed in CLEAN section
23$directory = dirname(__FILE__) . "/私はガラスを食べられますgetcwd_basic";
24mkdir($directory);
25
26var_dump(getcwd());
27chdir($directory);
28var_dump(getcwd());
29?>
30===DONE===
31--CLEAN--
32<?php
33$directory = dirname(__FILE__) . "/私はガラスを食べられますgetcwd_basic";
34rmdir($directory);
35?>
36--EXPECTF--
37*** Testing getcwd() : basic functionality ***
38string(%d) "%s"
39string(%d) "%s%e私はガラスを食べられますgetcwd_basic"
40===DONE===
41