DRUPAL_PHP_FUNCTION_PATTERN
Same name in other branches
- 7.x includes/bootstrap.inc \DRUPAL_PHP_FUNCTION_PATTERN
Regular expression to match PHP function names.
Deprecated
in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN instead.
See also
https://www.drupal.org/node/2936107
http://php.net/manual/language.functions.php
File
-
core/
includes/ bootstrap.inc, line 150
Code
const 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.