D25801
D25801
Fix PHP 8.1 "preg_match(null)" exception in XHPASTNode
Author: aklapper
Reviewers: O1: Blessed Committers, valerio.bozzolan
Summary: When `$u` is `null`, `null` is passed to `preg_match()` which is deprecated behavior since PHP 8.1.
Thus first check if…