posix_getcwd

(PHP 3 >= 3.0.13, PHP 4, PHP 5)

posix_getcwd -- 現在のディレクトリのパス名

説明

string posix_getcwd ( void )

posix_getcwd() は、スクリプトの現在の実行ディレクトリの パスを、絶対パスで返します。posix_getcwd() は、エラー時に FALSE を返します。