(on a system with the "whoami" executable in the path) ... Note: When safe mode is enabled, you can only execute files within the safe_mode_exec_dir.
php.net