Searched refs:posix_geteuid (Results 1 – 25 of 26) sorted by relevance
12
10 if (!function_exists('posix_geteuid')) {11 die('SKIP posix_geteuid() not defined so cannot check if run as root');13 if (posix_geteuid() == 0) {
2 Test function posix_geteuid() by calling it with its expected arguments11 var_dump(posix_geteuid());
12 $myuid = posix_geteuid();
10 $uid = posix_geteuid();
7 if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
9 if (function_exists("posix_geteuid")) {10 if (posix_geteuid() === 0) {
11 if(!function_exists('posix_geteuid')) die("skip. posix_geteuid not available ");12 if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
16 if (posix_geteuid() !== 0) die('skip Test needs root user');
16 if (posix_geteuid() === 0) die('skip Test needs non-root user');
11 if (posix_geteuid() !== 0) die('skip Test needs root user');
10 if (posix_geteuid() == 0) die('skip Cannot run test as root.');
9 if (posix_geteuid() == 0) die('skip Cannot run test as root.');
8 if (posix_geteuid() == 0) { die('SKIP Cannot run test as root.'); }
8 if (posix_geteuid() == 0) die('SKIP Cannot run test as root.');
15 if (posix_geteuid() == 0) die('skip Cannot run test as root.');
324 function posix_geteuid(): int {} function
193 ZEND_FUNCTION(posix_geteuid);267 ZEND_FE(posix_geteuid, arginfo_posix_geteuid)
Completed in 27 milliseconds