DRUPAL_PHP_FUNCTION_PATTERN

Same name in other branches
  1. 8.9.x 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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.