\Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN is out-of-date

Created on 23 July 2024, about 2 months ago
Updated 6 August 2024, about 1 month ago

Problem/Motivation

\Drupal\Core\Extension\ExtensionDiscovery::PHP_FUNCTION_PATTERN is set to '/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*$/' whereas it should be '/^[a-zA-Z_\x80-\xff][a-zA-Z0-9_\x80-\xff]*$/'.

\x7f is the delete character.

Proposed resolution

Update to the value documented in https://www.php.net/manual/en/functions.user-defined.php

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Fixed

Version

10.3 ✨

Component
BaseΒ  β†’

Last updated 1 minute ago

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024