2 <<__EntryPoint>> function main(): void {
3 if (substr(PHP_OS, 0, 3) == 'WIN') {
4 die('skip not for windows');
6 // Skip if being run by root (files are always readable, writeable and executable)
7 if (posix_geteuid() == 0) {
8 die('skip cannot be run as root');