You are here

constant DRUPAL_PHP_FUNCTION_PATTERN in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/bootstrap.inc \DRUPAL_PHP_FUNCTION_PATTERN

Regular expression to match PHP function names.

See also

http://php.net/manual/language.functions.php

7 uses of DRUPAL_PHP_FUNCTION_PATTERN
drupal_required_modules in includes/module.inc
Returns an array of modules required by core.
drupal_verify_profile in includes/install.inc
Verifies an installation profile for installation.
update_verify_update_archive in modules/update/update.module
Implements hook_verify_update_archive().
_drupal_get_filename_perform_file_scan in includes/bootstrap.inc
Performs a file system scan to search for a system resource.
_menu_router_build in includes/menu.inc
Builds the router table based on the data from hook_menu().

... See full list

File

includes/bootstrap.inc, line 249
Functions that need to be loaded on every Drupal request.

Code

define('DRUPAL_PHP_FUNCTION_PATTERN', '[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*');