1--TEST--
2Test getcwd() function : basic functionality
3--FILE--
4<?php
5/*
6 * Test basic functionality of getcwd()
7 */
8
9echo "*** Testing getcwd() : basic functionality ***\n";
10
11//create temporary directory for test, removed in CLEAN section
12$directory = __DIR__ . "/getcwd_basic";
13mkdir($directory);
14
15var_dump(getcwd());
16chdir($directory);
17var_dump(getcwd());
18?>
19--CLEAN--
20<?php
21$directory = __DIR__ . "/getcwd_basic";
22rmdir($directory);
23?>
24--EXPECTF--
25*** Testing getcwd() : basic functionality ***
26string(%d) "%s"
27string(%d) "%s%egetcwd_basic"
28