We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463c90e commit 4919e11Copy full SHA for 4919e11
src/Symfony/Component/Intl/Transliterator/EmojiTransliterator.php
@@ -106,9 +106,11 @@ public function getErrorMessage(): string|false
106
107
public static function listIDs(): array
108
{
109
- static $ids;
+ static $ids = [];
110
111
- $ids = [];
+ if ($ids) {
112
+ return $ids;
113
+ }
114
115
foreach (scandir(\dirname(__DIR__).'/Resources/data/transliterator/emoji/') as $file) {
116
if (str_ends_with($file, '.php')) {
0 commit comments