ezyang / htmlpurifier

Standards compliant HTML filter written in PHP
http://htmlpurifier.org
GNU Lesser General Public License v2.1
3.07k stars 327 forks source link

PHP 7.4: Array and string offset access syntax with curly braces is deprecated #223

Closed emodric closed 5 years ago

emodric commented 5 years ago

On PHP 7.4, using HTMLPurifier results in deprecation notices from the title.

This comes for example from this syntax usage: https://github.com/ezyang/htmlpurifier/blob/master/library/HTMLPurifier/TagTransform/Font.php#L78