Home
last modified time | relevance | path

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

12

/php-src/ext/dom/tests/modern/css_selectors/
H A Dattribute.phpt12 <a title="http://example.com" lang="en-us"/>
15 <a title="ftp://example.nl" lang="nl-be"/>
31 test_helper($dom, 'a[lang|="nl"]');
32 test_helper($dom, 'a[lang|="nl-be"]');
46 test_helper($dom, 'a[lang|="NL" i]');
47 test_helper($dom, 'a[lang|="NL-BE" i]');
59 <a title="ftp://example.nl" lang="nl-be"/>
78 --- Selector: a[lang|="nl"] ---
81 --- Selector: a[lang|="nl-be"] ---
109 --- Selector: a[lang|="NL" i] ---
[all …]
H A Dpseudo_classes_lang.phpt2 CSS Selectors - Pseudo classes: lang
11 <container lang="en">
13 <html xmlns="http://www.w3.org/1999/xhtml" lang="nl">
19 test_failure($dom, ':lang(en)', true);
20 test_failure($dom, ':lang(nl)', true);
24 --- Selector: :lang(en) ---
25 Code 12 Invalid selector (Selectors. Not supported: lang)
26 --- Selector: :lang(nl) ---
27 Code 12 Invalid selector (Selectors. Not supported: lang)
/php-src/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-src/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";
/php-src/scripts/dev/
H A Dtidy.php60 $lang = getLanguageFromExtension($file->getExtension()); variable
61 if ($lang === null) {
67 if ($lang === 'c') {
71 } else if ($lang === 'php') {
74 } else if ($lang === 'phpt') {
/php-src/ext/soap/tests/bugs/
H A Dbug29839.phpt2 Bug #29839 (incorrect convert (xml:lang to lang))
34 $client->EchoString(array("value"=>"hello","lang"=>"en"));
41 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
43 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
H A Dbug34453.phpt34 $client->EchoString(array("value"=>"hello","lang"=>"en"));
41 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
43 …rg/soap/envelope/" xmlns:ns1="http://test-uri"><SOAP-ENV:Body><string xml:lang="en"><ns1:value>hel…
/php-src/ext/tidy/tests/
H A Dgh12980.phpt7 $html = '<!DOCTYPE html><html lang="en" boolean empty="" selected="selected"></html>';
18 <html lang="en" boolean="" empty="" selected="selected">
26 ["lang"]=>
/php-src/ext/mbstring/tests/
H A Dmb_strtolower_variation4.phpt20 foreach ($uppers as $lang => $sourcestring) {
21 echo "\n-- $lang --\n";
24 if ($a == $lowers[$lang]) {
H A Dmb_strtoupper_variation4.phpt21 foreach ($lowers as $lang => $sourcestring) {
22 echo "\n-- $lang --\n";
25 if ($a == $uppers[$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)
/php-src/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-src/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-src/ext/standard/tests/strings/
H A Dhtmlentities17.phpt14 array(9001, '&lang;', "e28ca9"),
36 string(6) "&lang;"
/php-src/ext/dom/tests/modern/html/serializer/
H A DHTMLDocument_serialize_full_document.phpt10 <html lang="en">
34 <!DOCTYPE html><html lang="en"><head>
/php-src/.github/actions/apk/
H A Daction.yml56 musl-locales-lang

Completed in 40 milliseconds

12