W3cubDocs

/Drupal 8

constant DRUPAL_PHP_FUNCTION_PATTERN

Regular expression to match PHP function names.

See also

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

File

core/includes/bootstrap.inc, line 93
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]*';

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!bootstrap.inc/constant/DRUPAL_PHP_FUNCTION_PATTERN/8.1.x