Merge branch '3.x' into 4.x

* 3.x:
  Update CHANGELOG
  Update CHANGELOG
  Avoid ord deprecation in PHP 8.5
This commit is contained in:
Fabien Potencier
2025-12-14 12:27:56 +01:00
+1 -1
View File
@@ -272,7 +272,7 @@ final class EscaperRuntime implements RuntimeExtensionInterface
* @license https://framework.zend.com/license/new-bsd New BSD License
*/
$chr = $matches[0];
$ord = \ord($chr);
$ord = \ord($chr[0]);
/*
* The following replaces characters undefined in HTML with the