@ -465,7 +465,9 @@ function_entry basic_functions[] = {
PHP_FE(opendir, NULL)
PHP_FE(closedir, NULL)
PHP_FE(chdir, NULL)
#if !defined(ZEND_WIN32)&&!defined(ZTS)
PHP_FE(chroot, NULL)
#endif
PHP_FE(getcwd, NULL)
PHP_FE(rewinddir, NULL)
PHP_STATIC_FE("readdir", php_if_readdir, NULL)
@ -222,6 +222,8 @@ PHP_FUNCTION(closedir)
}
/* }}} */
/* {{{ proto int chroot(string directory)
Change root directory */
@ -253,6 +255,8 @@ PHP_FUNCTION(chroot)
/* {{{ proto int chdir(string directory)
Change the current directory */
@ -28,7 +28,9 @@ PHP_RINIT_FUNCTION(dir);
PHP_FUNCTION(opendir);
PHP_FUNCTION(closedir);
PHP_FUNCTION(chdir);
PHP_FUNCTION(chroot);
PHP_FUNCTION(getcwd);
PHP_FUNCTION(rewinddir);
PHP_NAMED_FUNCTION(php_if_readdir);