import zend standard tests
[hiphop-php.git] / hphp / test / zend / good / ext-standard-dir / getcwd_error.php
blob1b80f850b690459afd9b820d41fde60fd67bf46c
1 <?php
2 /* Prototype : mixed getcwd(void)
3 * Description: Gets the current directory
4 * Source code: ext/standard/dir.c
5 */
7 /*
8 * Pass incorrect number of arguments to getcwd() to test behaviour
9 */
11 echo "*** Testing getcwd() : error conditions ***\n";
13 // One argument
14 echo "\n-- Testing getcwd() function with one argument --\n";
15 $extra_arg = 10;
16 var_dump( getcwd($extra_arg) );
18 ===DONE===