Function __global->get_exact_usernames_and_suexec

Definitions

sources/global4.php

  • Do whatever complex magic we can to try and find out the username we are running as, and suEXEC status.This function should be assumed to be a little slow, don't put it into the critical path.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Returns

  • A pair: The username as best can be found, the suEXEC status
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Do whatever complex magic we can to try and find out the username we are running as, and suEXEC status.This function should be assumed to be a little slow, don't put it into the critical path.
 *
 * @return array A pair: The username as best can be found, the suEXEC status
 */

function get_exact_usernames_and_suexec() : array