/php-src/ext/filter/tests/ |
H A D | 056.phpt | 9 'example.com', 14 'cont-ains.h-yph-en-s.com', 15 '..com', 17 'a.-bc.com', 18 'ab.cd-.com', 19 '-.abc.com', 20 'abc.-.abc.com', 21 'underscore_.example.com', 43 string(11) "example.com" 60 string(12) "_example.com" [all …]
|
H A D | 058.phpt | 8 'niceändsimple@example.com', 9 'véry.çommon@example.com', 14 '"verî.uñusual.@.uñusual.com"@example.com', 16 'tést@example.com', 17 'tést.child@example.com', 18 'tést@xn--exmple-cua.com', 25 'tést+reference@example.com', 26 'üñîçøðé@example.com', 27 '"üñîçøðé"@example.com', 28 'DžǼ੧ఘⅧ⒇৪@example.com', [all …]
|
H A D | 015.phpt | 9 'http://example.com/index.html', 24 'http://..com', 25 'http://a.-bc.com', 26 'http://ab.cd-.com', 27 'http://-.abc.com', 28 'http://abc.-.abc.com', 43 'mailto:foo@bar.com', 47 "http://example.com:qq", 48 "http://example.com:-2", 49 "http://example.com:65536", [all …]
|
H A D | 016.phpt | 9 'abuse@example.com', 10 'test!.!@#$%^&*@example.com', 11 'test@@#$%^&*())).com', 12 'test@.com', 13 'test@com', 15 '[]()/@example.com', 17 'e.x.a.m.p.l.e.@example.com', 19 '-@foo.com', 20 'foo@-.com', 32 string(17) "abuse@example.com" [all …]
|
H A D | bug50158.phpt | 8 $email_address = "test=mail@example.com"; 11 $email_address = "test-mail@example.com"; 14 $email_address = "test+mail@example.com"; 17 $email_address = "test?mail@example.com"; 22 string(21) "test=mail@example.com" 23 string(21) "test-mail@example.com" 24 string(21) "test+mail@example.com" 25 string(21) "test?mail@example.com"
|
H A D | bug51192.phpt | 7 var_dump(filter_var('http://example.com/path', FILTER_VALIDATE_URL)); 8 var_dump(filter_var('http://exa-mple.com/path', FILTER_VALIDATE_URL)); 9 var_dump(filter_var('http://exa_mple.com/path', FILTER_VALIDATE_URL)); 12 string(23) "http://example.com/path" 13 string(24) "http://exa-mple.com/path"
|
H A D | 033.phpt | 17 validate_domain PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 19 validate_email foo@bar.com … 22 string PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 23 stripped PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc() O… 24 encoded PHP 1 foo%40bar.com http%3A%2F%2Fa.b.c 1.2.3.4 123 123abc%3C%3E%28%29 O… 25 special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 26 full_special_chars PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 27 unsafe_raw PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… 28 email PHP 1 foo@bar.com httpa.b.c 1.2.3.4 123 123abc O… 29 url PHP 1 foo@bar.com http://a.b.c 1.2.3.4 123 123abc<>() O… [all …]
|
/php-src/ext/dom/tests/ |
H A D | gh11500.phpt | 80 …on="1.0"?><root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1/></a1><a2 xmlns="ht… 94 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1/></a1><a2 xmlns="http://exampl… 96 string(18) "http://example.com" 97 string(18) "http://example.com" 98 string(18) "http://example.com" 99 string(18) "http://example.com" 103 string(18) "http://example.com" 104 string(18) "http://example.com" 110 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1><c1/></b1></a1><a2 xmlns="http… 130 <root xmlns="http://example2.com"><a1 xmlns="http://example.com"><b1><c1/></b1></a1><a2 xmlns="http… [all …]
|
H A D | bug34276.phpt | 9 <foo xmlns="http://www.example.com/ns/foo" 10 xmlns:fubar="http://www.example.com/ns/fubar" attra="attra" /> 23 var_dump($foo->hasAttributeNS('http://www.example.com/ns/foo', 'attra')); 24 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra')); 26 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attra', 'attranew'); 27 $foo->setAttributeNS('http://www.example.com/ns/fubar', 'attrb', 'attrbnew'); 28 $foo->setAttributeNS('http://www.example.com/ns/foo', 'attrc', 'attrc'); 30 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attra')); 31 var_dump($foo->getAttributeNS('http://www.example.com/ns/fubar', 'attrb')); 32 var_dump($foo->getAttributeNS('http://www.example.com/ns/foo', 'attrc')); [all …]
|
H A D | canonicalization.phpt | 9 <foo xmlns="http://www.example.com/ns/foo" 10 xmlns:fubar="http://www.example.com/ns/fubar" xmlns:test="urn::test"><contain> 13 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3 /></fubar:bar> 44 'namespaces'=>array('a'=>'http://www.example.com/ns/foo')), 52 <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:… 60 <contain xmlns="http://www.example.com/ns/foo"> 63 <fubar:bar xmlns:fubar="http://www.example.com/ns/fubar"><test3></test3></fubar:bar> 68 <contain xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:… 76 <contain xmlns="http://www.example.com/ns/foo"> 84 <foo xmlns="http://www.example.com/ns/foo"><contain> [all …]
|
H A D | dom_create_element.phpt | 47 $dom->createElementNS('http://valid.com', 'valid'); 56 $dom->createElementNS('http://valid.com', 'prefix:valid'); 65 $dom->createElementNS('http://valid.com', '-invalid'); 74 $dom->createElementNS('http://valid.com', 'prefix:-invalid'); 101 $dom->createElementNS('http://valid.com', '-prefix:valid'); 151 $element = new DomElement('valid', '', 'http://valid.com'); 167 $element = new DomElement('-invalid', '', 'http://valid.com'); 329 5 DOMDocument::createElementNS('http://valid.com', 'valid') 333 7 DOMDocument::createElementNS('http://valid.com', '-invalid') 353 17 DOMElement::__construct('valid', '', 'http://valid.com') [all …]
|
/php-src/ext/standard/tests/url/ |
H A D | bug73192.phpt | 6 var_dump(parse_url("http://example.com:80#@google.com/")); 7 var_dump(parse_url("http://example.com:80?@google.com/")); 15 string(11) "example.com" 19 string(12) "@google.com/" 25 string(11) "example.com" 29 string(12) "@google.com/"
|
/php-src/ext/ldap/tests/ |
H A D | ldap_explode_dn.phpt | 9 var_dump(ldap_explode_dn("cn=bob,dc=example,dc=com", 0)); 12 var_dump(ldap_explode_dn("cn=bob,ou=users,dc=example,dc=com", 0)); 15 var_dump(ldap_explode_dn("cn=bob,dc=example,dc=com", 1)); 21 var_dump(ldap_explode_dn("cn=<bob>,dc=example,dc=com", 0)); 24 var_dump(ldap_explode_dn("cn=<bob>,dc=example,dc=com", 1)); 27 var_dump(ldap_explode_dn("bob,dc=example,dc=com", 0)); 30 var_dump(ldap_explode_dn("bob,dc=example,dc=com", 1)); 42 string(6) "dc=com" 54 string(6) "dc=com" 64 string(3) "com" [all …]
|
H A D | ldap_dn2ufn.phpt | 9 var_dump(ldap_dn2ufn("cn=bob,dc=example,dc=com")); 12 var_dump(ldap_dn2ufn("cn=bob,ou=users,dc=example,dc=com")); 15 var_dump(ldap_dn2ufn("cn=<bob>,dc=example,dc=com")); 18 var_dump(ldap_dn2ufn("bob,dc=example,dc=com")); 24 string(16) "bob, example.com" 25 string(23) "bob, users, example.com"
|
/php-src/ext/standard/tests/general_functions/ |
H A D | url_rewriting_basic3.phpt | 20 <a href="//session-trans-sid.com/foo.php"></a> 22 <a href="bad://session-trans-sid.com/foo.php"></a> 23 <a href="//www.session-trans-sid.com/foo.php"></a> 25 <a href="//url-rewriter.com/foo.php"></a> 26 <a href="http://url-rewriter.com/foo.php"></a> 27 <a href="bad://url-rewriter.com/foo.php"></a> 28 <a href="//www.url-rewriter.com/foo.php"></a> 104 <a href="//url-rewriter.com/foo.php"></a> 106 <a href="bad://url-rewriter.com/foo.php"></a> 107 <a href="//www.url-rewriter.com/foo.php"></a> [all …]
|
H A D | url_rewriting_basic1.phpt | 20 <a href="//session-trans-sid.com/foo.php"></a> 22 <a href="bad://session-trans-sid.com/foo.php"></a> 23 <a href="//www.session-trans-sid.com/foo.php"></a> 25 <a href="//url-rewriter.com/foo.php"></a> 26 <a href="http://url-rewriter.com/foo.php"></a> 27 <a href="bad://url-rewriter.com/foo.php"></a> 28 <a href="//www.url-rewriter.com/foo.php"></a> 91 <a href="//session-trans-sid.com/foo.php"></a> 98 <a href="bad://url-rewriter.com/foo.php"></a> 99 <a href="//www.url-rewriter.com/foo.php"></a> [all …]
|
H A D | url_rewriting_basic2.phpt | 20 <a href="//session-trans-sid.com/foo.php"></a> 21 <a href="http://session-trans-sid.com/foo.php"></a> 22 <a href="bad://session-trans-sid.com/foo.php"></a> 23 <a href="//www.session-trans-sid.com/foo.php"></a> 25 <a href="//url-rewriter.com/foo.php"></a> 26 <a href="http://url-rewriter.com/foo.php"></a> 27 <a href="bad://url-rewriter.com/foo.php"></a> 28 <a href="//www.url-rewriter.com/foo.php"></a> 102 <a href="//session-trans-sid.com/foo.php"></a> 109 <a href="bad://url-rewriter.com/foo.php"></a> [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | userwrapper.phpt | 38 unlink('test://example.com/path/to/file'); 39 rename('test://example.com/path/to/from', 'test://example.com/path/to/to'); 41 @rename('test://example.com/path/to/from', 'http://example.com/path/to/to'); 42 mkdir('test://example.com/path/to/directory', 0755); 43 rmdir('test://example.com/path/to/directory'); 44 print_r(stat('test://example.com/path/to/file')); 49 Unlinking file: test://example.com/path/to/file 50 Renaming test://example.com/path/to/from to test://example.com/path/to/to 51 Making directory: test://example.com/path/to/directory as 755 52 Removing directory: test://example.com/path/to/directory [all …]
|
/php-src/ext/iconv/tests/ |
H A D | iconv_mime_decode_headers.phpt | 10 Return-Path: <internals-return-5651-***=***.example.com@lists.php.net> 11 Received: from pb1.pair.com (pb1.pair.com [16.92.131.4]) by ***.example.com 13 <***@***.example.com>; Sat, 22 Jan 1970 06:48:51 +0900 (JST) 15 internals-return-5651-***=***.example.com@lists.php.net) 27 From: *** *** *** <***@***.example.com> 28 X-X-Sender: ***@***.example.com 30 Message-Id: <Pine.LNX.4.58.************@***.example.com> 45 …com (pb1.pair.com [16.92.131.4]) by ***.example.com (8.12.10/8.12.10/1970-09-30) with SMTP id hALL… 73 string(33) "*** *** *** <***@***.example.com>" 75 string(19) "***@***.example.com" [all …]
|
/php-src/ext/standard/tests/mail/ |
H A D | gh13415.phpt | 9 …mail('to@example.com', 'Test Subject', 'A Message', ['Reply-To' => "foo@example.com \nCc: hacker@e… 16 …mail('to@example.com', 'Test Subject', 'A Message', ['Reply-To' => "foo@example.com \rCc: hacker@e… 23 …mail('to@example.com', 'Test Subject', 'A Message', ['Reply-To' => "foo@example.com \r\nCc: hacker… 30 …mail('to@example.com', 'Test Subject', 'A Message', ['Reply-To' => "foo@example.com \0Cc: hacker@e…
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | bug55294.phpt | 9 <A xmlns="http://example.com/A"> 11 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z" /> 18 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true… 26 <B xmlns="http://example.com/A"> 27 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z"/>
|
/php-src/ext/xml/tests/ |
H A D | xml009.phpt | 19 <a xmlns="http://example.com/foo" 20 xmlns:bar="http://example.com/bar" 21 xmlns:baz="http://example.com/baz"> 23 <bar:c xmlns:bar="http://example.com/foo"/> 34 string(24) "http://example.com/foo@a" 35 string(24) "http://example.com/bar@b" 36 string(24) "http://example.com/foo@c"
|
/php-src/ext/session/tests/ |
H A D | session_basic5.phpt | 147 <a href="http://bad.com">test</a> 148 <a href="http://bad.com/">test</a> 165 <a href="https://bad.com">test</a> 180 <a href="//bad.com">test</a> 181 <a href="//bad.com/">test</a> 182 <a href="//bad.com/#bar">test</a> 183 <a href="//bad.com/?foo">test</a> 361 <a href="http://bad.com">test</a> 394 <a href="//bad.com">test</a> 395 <a href="//bad.com/">test</a> [all …]
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_links.phpt | 12 <a href="http://example.com">Link</a> 13 <a xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</a> 14 <area xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</area> 25 <a xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</a> 26 <area xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</area> 28 <a xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</a> 29 <area xmlns="http://www.w3.org/1999/xhtml" href="http://example.com">Link</area> 31 <a href="http://example.com">Link</a>
|
/php-src/ext/intl/tests/ |
H A D | idn_uts46_basic.phpt | 12 $utf8dn = "www.fußball.com"; 13 $asciiNonTrans = "www.xn--fuball-cta.com"; 33 string(22) "www.xn--fuball-cta.com" 35 string(16) "www.fussball.com" 37 string(22) "www.xn--fuball-cta.com" 40 string(22) "www.xn--fuball-cta.com" 47 string(16) "www.fußball.com" 50 string(16) "www.fußball.com"
|