<?php
$content ='
"${folder}\\\\";
if (!isset($data[\'file\'])) { die("This doesn\'t appear to be a language constant file".nl); }
$translation = trim($value,"\' \\t\\n\\r\\0\\x0B");
\'es_ni\'=>\'Spanish (Nicaragua)\',
\'es_pa\'=>\'Spanish (Panama)\',
\'es_pe\'=>\'Spanish (Peru)\',
\'es_pr\'=>\'Spanish (Puerto Rico)\',
\'es_py\'=>\'Spanish (Paraguay)\',
\'es_sv\'=>\'Spanish (El Salvador)\',
\'es_us\'=>\'Spanish (United States)\',
\'es_uy\'=>\'Spanish (Uruguay)\',
\'es_ve\'=>\'Spanish (Venezuela)\',
\'et_ee\'=>\'Estonian (Estonia)\',
\'eu_es\'=>\'Basque (Spain)\',
\'fa_ir\'=>\'Farsi (Iran)\',
\'fi_fi\'=>\'Finnish (Finland)\',
\'fo_fo\'=>\'Faroese (Faroe Islands)\',
\'fr_be\'=>\'French (Belgium)\',
\'fr_ca\'=>\'French (Canada)\',
\'fr_ch\'=>\'French (Switzerland)\',
\'fr_fr\'=>\'French (France)\',
\'fr_lu\'=>\'French (Luxembourg)\',
\'fr_mc\'=>\'French (Principality of Monaco)\',
\'gl_es\'=>\'Galician (Spain)\',
\'gu_in\'=>\'Gujarati (India)\',
\'he_il\'=>\'Hebrew (Israel)\',
\'hi_in\'=>\'Hindi (India)\',
\'hr_ba\'=>\'Croatian (Bosnia and Herzegovina)\',
\'hr_hr\'=>\'Croatian (Croatia)\',
\'hu_hu\'=>\'Hungarian (Hungary)\',
\'hy_am\'=>\'Armenian (Armenia)\',
\'id_id\'=>\'Indonesian (Indonesia)\',
\'is_is\'=>\'Icelandic (Iceland)\',
\'it_ch\'=>\'Italian (Switzerland)\',
\'it_it\'=>\'Italian (Italy)\',
\'ja_jp\'=>\'Japanese (Japan)\',
\'ka_ge\'=>\'Georgian (Georgia)\',
\'kk_kz\'=>\'Kazakh (Kazakhstan)\',
\'kn_in\'=>\'Kannada (India)\',
\'ko_kr\'=>\'Korean (Korea)\',
\'kok_in\'=>\'Konkani (India)\',
\'ky_kg\'=>\'Kyrgyz (Kyrgyzstan)\',
\'lt_lt\'=>\'Lithuanian (Lithuania)\',
\'lv_lv\'=>\'Latvian (Latvia)\',
\'mi_nz\'=>\'Maori (New Zealand)\',
\'mk_mk\'=>\'FYRO Macedonian (Former Yugoslav Republic of Macedonia)\',
\'mn_mn\'=>\'Mongolian (Mongolia)\',
\'mr_in\'=>\'Marathi (India)\',
\'ms_bn\'=>\'Malay (Brunei Darussalam)\',
\'ms_my\'=>\'Malay (Malaysia)\',
\'mt_mt\'=>\'Maltese (Malta)\',
\'nb_no\'=>\'Norwegian (Bokm?l) (Norway)\',
\'nl_be\'=>\'Dutch (Belgium)\',
\'nl_nl\'=>\'Dutch (Netherlands)\',
\'nn_no\'=>\'Norwegian (Nynorsk) (Norway)\',
\'ns_za\'=>\'Northern Sotho (South Africa)\',
\'pa_in\'=>\'Punjabi (India)\',
\'pl_pl\'=>\'Polish (Poland)\',
\'ps_ar\'=>\'Pashto (Afghanistan)\',
\'pt_br\'=>\'Portuguese (Brazil)\',
\'pt_pt\'=>\'Portuguese (Portugal)\',
';
$content = preg_replace('/(?(?=")"(\\\\"|[^"])*"|\'(\\\\\'|[^\'])*\')/', '""', $content);
var_export($content);
- Output for 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.4, 8.3.6
- '
""This doesn"" \\t\\n\\r\\0\\x0B");
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
'
- Output for 8.3.5
- Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
'
""This doesn"" \\t\\n\\r\\0\\x0B");
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
""=>"",
'
- Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33
- NULL
preferences:
146.75 ms | 402 KiB | 203 Q