You are here

constant DRUPAL_PHP_FUNCTION_PATTERN in Zircon Profile 8

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

Regular expression to match PHP function names.

See also

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

2 uses of DRUPAL_PHP_FUNCTION_PATTERN
drupal_get_database_types in core/includes/install.inc
Returns all supported database driver installer objects.
update_verify_update_archive in core/modules/update/update.module
Implements hook_verify_update_archive().

File

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

Code

const DRUPAL_PHP_FUNCTION_PATTERN = '[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*';