Function CMSPermissionsScanner->php_function_allowed

Definitions

sources/file_permissions_check.php

  • Find whether a particular PHP function is allowed.
  • Visibility: protected
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: bool

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$function string No No required parameter N/A N/A Function name

Returns

  • Whether it is
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find whether a particular PHP function is allowed.
 *
 * @param  string $function Function name
 * @return boolean Whether it is
 */

protected function php_function_allowed(string $function) : bool