Home
last modified time | relevance | path

Searched refs:lang (Results 1 – 25 of 42) sorted by relevance

12

/PHP-8.1/ext/dom/tests/
H A Ddomelement.phpt29 $lang->nodeValue = 'en-US';
30 $node->setAttributeNode($lang);
32 $node->removeAttributeNode($lang);
35 echo "\n-- xml:lang --\n";
44 $lang = $dom->createAttributeNS('http://www.w3.org/XML/1998/namespace', 'xml:lang');
45 $lang->nodeValue = 'en-GB';
47 unset($lang);
49 $lang = $node->getAttributeNodeNS('http://www.w3.org/XML/1998/namespace', 'lang');
97 -- xml:lang --
99 Attribute xml:lang exists?: Yes
[all …]
H A Ddomattributes.phpt18 $lang = $node->getAttributeNode('language');
19 echo "Language: ".$lang->value."\n";
21 $lang->value = 'en-US';
22 echo "Language: ".$lang->value."\n";
24 $parent = $lang->ownerElement;
/PHP-8.1/ext/intl/tests/
H A Dlocale_get_default.phpt19 $lang = ut_loc_get_default() ;
20 $res_str .= "Default locale: $lang";
24 $lang = ut_loc_get_default() ;
25 $res_str .= "Default locale: $lang";
29 $lang = ut_loc_get_default() ;
30 $res_str .= "Default locale: $lang";
H A Dlocale_get_primary_language.phpt73 $lang = ut_loc_get_primary_language( $locale);
74 $res_str .= "$locale: primary_language='$lang'";
/PHP-8.1/scripts/dev/
H A Dtidy.php61 $lang = getLanguageFromExtension($file->getExtension()); variable
62 if ($lang === null) {
68 if ($lang === 'c') {
72 } else if ($lang === 'php') {
75 } else if ($lang === 'phpt') {
/PHP-8.1/ext/soap/tests/bugs/
H A Dbug29839.phpt2 Bug #29839 (incorrect convert (xml:lang to lang))
33 $client->EchoString(array("value"=>"hello","lang"=>"en"));
40 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
42 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
H A Dbug34453.phpt2 Bug #29839 (incorrect convert (xml:lang to lang))
33 $client->EchoString(array("value"=>"hello","lang"=>"en"));
40 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
42 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
H A Dbug34453.wsdl9 <attribute ref="xml:lang" use="required"/>
/PHP-8.1/ext/mbstring/tests/
H A Dmb_strtoupper_variation4.phpt21 foreach ($lowers as $lang => $sourcestring) {
22 echo "\n-- $lang --\n";
25 if ($a == $uppers[$lang]) {
H A Dmb_strtolower_variation4.phpt20 foreach ($uppers as $lang => $sourcestring) {
21 echo "\n-- $lang --\n";
24 if ($a == $lowers[$lang]) {
H A Dmb_encode_mimeheader_basic3.phpt22 foreach ($inputs as $lang => $input) {
23 echo "\nLanguage: $lang\n";
25 mb_internal_encoding($lang);
26 $outEncoding = $lang;
H A Dmb_encode_mimeheader_basic.phpt19 foreach ($english as $lang => $input) {
20 echo "\nLanguage: $lang\n";
29 foreach ($nonEnglish as $lang => $input) {
30 echo "\nLanguage: $lang\n";
H A Dmb_encode_mimeheader_basic2.phpt22 foreach ($inputs as $lang => $input) {
23 echo "\nLanguage: $lang\n";
25 mb_internal_encoding($lang);
H A Dhtmlent.phpt32 <?php mb_parse_str("test=&#38;&#64;&#65;&#66;&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;…
39 [test] => &@AB&#128;&#129;&#130;&auml;&ouml;&uuml;&euro;&lang;&rang;
H A Dmb_send_mail01.phpt2 mb_send_mail() test 1 (lang=neutral)
H A Dmb_send_mail03.phpt2 mb_send_mail() test 3 (lang=English)
H A Dmb_send_mail02.phpt2 mb_send_mail() test 2 (lang=Japanese)
H A Dmb_send_mail04.phpt2 mb_send_mail() test 4 (lang=German)
H A Dmb_send_mail06.phpt2 mb_send_mail() test 6 (lang=Traditional Chinese)
H A Dmb_send_mail07.phpt2 mb_send_mail() test 7 (lang=Korean)
H A Dmb_send_mail05.phpt2 mb_send_mail() test 5 (lang=Simplified Chinese)
/PHP-8.1/ext/gd/libgd/
H A Dgdkanji.c91 char *lang = NULL; in DetectKanjiCode() local
191 lang = getenv ("LC_ALL"); in DetectKanjiCode()
193 lang = getenv ("LC_CTYPE"); in DetectKanjiCode()
195 lang = getenv ("LANG"); in DetectKanjiCode()
197 if (lang) in DetectKanjiCode()
199 if (strcmp (lang, "ja_JP.SJIS") == 0 || in DetectKanjiCode()
201 strcmp (lang, "japanese") == 0 || in DetectKanjiCode()
203 strcmp (lang, "ja_JP.mscode") == 0 || in DetectKanjiCode()
204 strcmp (lang, "ja_JP.PCK") == 0) in DetectKanjiCode()
206 else if (strncmp (lang, "ja", 2) == 0) in DetectKanjiCode()
/PHP-8.1/ext/phar/tests/
H A Dbug65028.phpt49 "modules/brd/setup/resources/lang/en.xml",
50 "modules/brd/setup/resources/lang/de.xml",
83 "modules/sty/setup/resources/lang/en.xml",
84 "modules/sty/setup/resources/lang/de.xml",
96 "modules/sys/setup/resources/lang/en.xml",
97 "modules/sys/setup/resources/lang/de.xml",
119 "modules/search/setup/resources/lang/en.xml",
120 "modules/search/setup/resources/lang/de.xml",
/PHP-8.1/ext/standard/tests/strings/
H A Dhtmlentities17.phpt14 array(9001, '&lang;', "e28ca9"),
36 string(6) "&lang;"
/PHP-8.1/ext/mbstring/
H A Dmbstring.c83 enum mbfl_no_language lang; member
554 if (php_mb_default_identify_list[i].lang == lang) { in php_mb_nls_get_default_detect_order_list()
2857 if (lang != NULL) { in PHP_FUNCTION()
3507 const mbfl_language *lang; in PHP_FUNCTION() local
3522 lang = mbfl_no2language(MBSTRG(language)); in PHP_FUNCTION()
3523 if (lang != NULL) { in PHP_FUNCTION()
3524 tran_cs = mbfl_no2encoding(lang->mail_charset); in PHP_FUNCTION()
3789 if (lang != NULL) { in PHP_FUNCTION()
3851 if (lang != NULL && (name = (char *)mbfl_no_encoding2name(lang->mail_charset)) != NULL) { in PHP_FUNCTION()
3855 if (lang != NULL && (name = (char *)mbfl_no_encoding2name(lang->mail_header_encoding)) != NULL) { in PHP_FUNCTION()
[all …]

Completed in 34 milliseconds

12