On Windows this will always return 0, except when "php -r" is used, when it returns 1.(PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8)
getmygid — Retorna el GID del propietario del script
Esta función no contiene ningún parámetro.
   Retorna el GID del propietario del script actual, o false
   en caso de error.
  
On Windows this will always return 0, except when "php -r" is used, when it returns 1.