You are here

constant ExtensionDiscovery::PHP_FUNCTION_PATTERN in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Extension/ExtensionDiscovery.php \Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN

Regular expression to match PHP function names.

See also

http://php.net/manual/functions.user-defined.php

File

core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 56
Contains \Drupal\Core\Extension\ExtensionDiscovery.

Class

ExtensionDiscovery
Discovers available extensions in the filesystem.

Namespace

Drupal\Core\Extension

Code

const PHP_FUNCTION_PATTERN = '/^[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*$/';