Skip to content

Commit 13502c5

Browse files
authored
Document the exact change instead of using some generic note
1 parent 3c2b308 commit 13502c5

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/phputf8/utils/unicode.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
* @see http://lxr.mozilla.org/seamonkey/source/intl/uconv/src/nsUnicodeToUTF8.cpp
1313
* @see http://hsivonen.iki.fi/php-utf8/
1414
* @package utf8
15-
* @note This file has been modified by the Joomla! Project and no longer reflects the original work of its author.
1615
*/
1716

1817
//--------------------------------------------------------------------
@@ -25,6 +24,12 @@
2524
* and raises a PHP error at level E_USER_WARNING
2625
* Note: this function has been modified slightly in this library to
2726
* trigger errors on encountering bad bytes
27+
*
28+
* Joomla modification - As of PHP 7.4, curly brace access has been deprecated. As a result this function has been
29+
* modified to use square brace syntax
30+
* See https://github.com/php/php-src/commit/d574df63dc375f5fc9202ce5afde23f866b6450a
31+
* for additional references
32+
*
2833
* @author <hsivonen@iki.fi>
2934
* @param string UTF-8 encoded string
3035
* @return mixed array of unicode code points or FALSE if UTF-8 invalid

0 commit comments

Comments
 (0)