None of the posix_* functions are available under Windows, since Windows is not POSIX compliant. But there seems to be / was an optional software package available, see here: https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem
(PHP 4, PHP 5, PHP 7, PHP 8)
posix_getuid — Retourne l'ID de l'utilisateur du processus courant
Cette fonction ne contient aucun paramètre.
Retourne l'identifiant, sous la forme d'un entier.
Exemple #1 Exemple avec posix_getuid()
<?php
echo posix_getuid(); //10000
?>
None of the posix_* functions are available under Windows, since Windows is not POSIX compliant. But there seems to be / was an optional software package available, see here: https://en.wikipedia.org/wiki/Microsoft_POSIX_subsystem