mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-16 20:36:33 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user