/PHP-8.2/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 …]
|
H A D | bug64441.phpt | 7 var_dump(filter_var('http://example.com./', FILTER_VALIDATE_URL)); 8 var_dump(filter_var('http://example.com/', FILTER_VALIDATE_URL)); 11 string(20) "http://example.com./" 12 string(19) "http://example.com/"
|
/PHP-8.2/ext/imap/tests/ |
H A D | bug45705_2.phpt | 24 string(27) "John Doe <john@example.com>" 26 string(27) "John Doe <john@example.com>" 28 string(27) "John Doe <john@example.com>" 30 string(27) "John Doe <john@example.com>" 32 string(27) "John Doe <john@example.com>" 34 string(27) "John Doe <john@example.com>" 38 string(27) "John Doe <john@example.com>" 40 string(27) "John Doe <john@example.com>" 42 string(27) "John Doe <john@example.com>" 44 string(27) "John Doe <john@example.com>" [all …]
|
/PHP-8.2/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-8.2/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)); 44 string(6) "dc=com" 56 string(6) "dc=com" 66 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-8.2/ext/dom/tests/ |
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 | bug55294.phpt | 6 See https://github.com/php/php-src/pull/12308 12 <A xmlns="http://example.com/A"> 14 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z" /> 21 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true… 29 <B xmlns="http://example.com/A"> 30 <C xmlns="http://example.com/C" xmlns:default="http://example.com/Z"/>
|
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-8.2/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-8.2/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-8.2/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-8.2/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"
|
H A D | bug25666.phpt | 19 <foo:a xmlns:foo="http://example.com/foo" 20 xmlns:bar="http://example.com/bar" 21 xmlns:baz="http://example.com/baz"> 34 string(24) "http://example.com/foo@a" 35 string(24) "http://example.com/bar@b" 36 string(24) "http://example.com/baz@c"
|
H A D | xml010.phpt | 24 <a xmlns="http://example.com/foo" 25 xmlns:bar="http://example.com/bar"> 38 http://example.com/foo@a 39 http://example.com/bar@b foo = bar 40 http://example.com/bar@c http://example.com/bar@nix = null foo = bar
|
/PHP-8.2/ext/session/tests/ |
H A D | session_basic5.phpt | 149 <a href="http://bad.com">test</a> 150 <a href="http://bad.com/">test</a> 167 <a href="https://bad.com">test</a> 182 <a href="//bad.com">test</a> 183 <a href="//bad.com/">test</a> 184 <a href="//bad.com/#bar">test</a> 185 <a href="//bad.com/?foo">test</a> 358 <a href="http://bad.com">test</a> 391 <a href="//bad.com">test</a> 392 <a href="//bad.com/">test</a> [all …]
|
/PHP-8.2/ext/intl/tests/ |
H A D | idn_uts46_basic.phpt | 11 $utf8dn = "www.fußball.com"; 12 $asciiNonTrans = "www.xn--fuball-cta.com"; 32 string(22) "www.xn--fuball-cta.com" 34 string(16) "www.fussball.com" 36 string(22) "www.xn--fuball-cta.com" 39 string(22) "www.xn--fuball-cta.com" 46 string(16) "www.fußball.com" 49 string(16) "www.fußball.com"
|
/PHP-8.2/ext/openssl/tests/ |
H A D | bug65729.phpt | 24 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com']; 37 $expected_names = ['foo.test.com.sg', 'foo.test.com', 'FOO.TEST.COM', 'foo.bar.test.com']; 53 $certificateGenerator->saveNewCertAsFileWithKey('*.test.com', $certFile); 64 …: stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.test.com… 73 …stream_socket_client(): Peer certificate CN=`*.test.com' did not match expected CN=`foo.bar.test.c…
|