PHP 8.1.28 Released!

posix_getcwd

(PHP 4, PHP 5, PHP 7, PHP 8)

posix_getcwdPercorso della directory corrente

Descrizione

posix_getcwd(): string

La funzione posix_getcwd() restituisce il percorso assoluto della corrente directory di lavoro.La funzioneposix_getcwd() restituisce false se si verifica un errore.

add a note

User Contributed Notes 1 note

up
0
phpmanual-getcwd at devin dot com
23 years ago
From the GNU getcwd(3) manpage, paraphrased: returns the absolute pathname of the current working directory. Fails when the current directory is not eradable. Complies with POSIX.1 spec.
To Top