/PHP-8.3/Zend/tests/ |
H A D | ns_057.phpt | 2 057: Usage of 'namespace' in compound names (inside namespace) 5 namespace Test\ns1; 15 const C2 = namespace\C; 36 echo namespace\C; 37 echo namespace\foo(); 38 echo namespace\foo::C; 39 echo namespace\foo::C2; 42 echo namespace\f1(); 43 echo namespace\f2(); 44 echo namespace\f3(new namespace\foo()); [all …]
|
H A D | ns_058.phpt | 13 const C2 = namespace\C; 34 echo namespace\C; 35 echo namespace\foo(); 36 echo namespace\foo::C; 37 echo namespace\foo::C2; 38 echo namespace\foo::$var; 39 echo namespace\foo::bar(); 40 echo namespace\f1(); 41 echo namespace\f2(); 42 echo namespace\f3(new namespace\foo()); [all …]
|
H A D | ns_081.phpt | 2 081: bracketed namespace with nested unbracketed namespace 5 namespace foo { 12 namespace oops; 23 Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in…
|
H A D | ns_084.phpt | 2 084: unbracketed namespace with nested bracketed namespace 5 namespace foo; 12 namespace oops { 23 Fatal error: Cannot mix bracketed namespace declarations with unbracketed namespace declarations in…
|
H A D | namespace_name_reserved_keywords.phpt | 2 Reserved keywords in namespace name 6 namespace iter\fn { 12 namespace fn { 18 namespace self { 24 namespace {
|
H A D | namespace_name_namespace.phpt | 2 Cannot use "namespace" as namespace name, due to conflict with ns-relative names 6 namespace NAMEspace; 10 Fatal error: Cannot use 'NAMEspace' as namespace name in %s on line %d
|
H A D | bug77966.phpt | 2 Bug #77966: Cannot alias a method named "namespace" 7 function namespace() { 14 namespace as bar; 20 $c->namespace();
|
H A D | constants_009.phpt | 2 Accessing constants inside namespace 6 namespace foo\x; 15 var_dump(namespace\x, 17 namespace\x::x);
|
H A D | namespace_name_namespace_start.phpt | 2 Cannot use "namespace\xyz" as namespace name, due to conflict with ns-relative names 6 namespace NAMEspace\xyz; 10 Parse error: syntax error, unexpected namespace-relative name "NAMEspace\xyz", expecting "{" in %s …
|
H A D | ns_082.phpt | 2 082: bracketed namespace with closing tag 5 namespace foo { 7 namespace ok {
|
H A D | bug70164.phpt | 2 …_HALT_OFFSET__ is a "magic" constant, which should work if referenced directly, even in a namespace 6 namespace { 11 namespace Foo { 14 echo namespace\__COMPILER_HALT_OFFSET__, "\n";
|
H A D | eval_constant_resolution.phpt | 5 namespace foo { 8 eval('namespace foo { var_dump(true); var_dump(TrUe); var_dump(namespace\true); var_dump(\true); }'… 10 var_dump(true); var_dump(TrUe); var_dump(namespace\true); var_dump(\true);
|
H A D | ns_087.phpt | 2 087: bracketed namespace with stuff in between 5 namespace foo { 14 namespace { 25 Fatal error: No code may exist outside of namespace {} in %s on line 10
|
H A D | bug43343.phpt | 5 namespace Foo; 8 var_dump(new namespace::$foo); 11 Parse error: syntax error, unexpected token "namespace", expecting ":" in %s on line %d
|
/PHP-8.3/Zend/tests/attributes/ |
H A D | 004_name_resolution.phpt | 6 namespace { 16 namespace Doctrine\ORM\Mapping { 21 namespace Doctrine\ORM\Attributes { 26 namespace Foo { 32 #[ORM\Entity("imported namespace")] 33 #[\Doctrine\ORM\Mapping\Entity("absolute from namespace")] 40 namespace { 65 string(18) "imported namespace" 75 string(23) "absolute from namespace"
|
/PHP-8.3/ext/dom/tests/ |
H A D | DOMDocument_getElementsByTagNameNS_match_any_namespace.phpt | 2 DOMDocument::getElementsByTagNameNS() match any namespace 20 This is another namespace 30 function test($namespace, $local) { 32 $namespace_str = $namespace !== NULL ? "'$namespace'" : "null"; 34 foreach ($dom->getElementsByTagNameNS($namespace, $local) as $element) { 39 // Should *also* include objects even without a namespace 41 // Should *also* include objects even without a namespace 43 // Should *only* include objects without a namespace 45 // Should *only* include objects with the specified namespace 49 // Should not give any output, because the null namespace is the same as the empty namespace [all …]
|
H A D | bug54382.phpt | 18 echo 'namespace node does not exist.' . "\n"; 20 echo 'namespace node prefix=' . $ns2->prefix . "\n"; 21 echo 'namespace node namespaceURI=' . $ns2->namespaceURI . "\n"; 25 namespace node prefix=ns2 26 namespace node namespaceURI=http://ns2
|
H A D | DOMDocument_importNode_attribute_prefix_conflict.phpt | 8 echo "--- Non-default namespace test case without a default namespace in the destination ---\n"; 21 echo "--- Non-default namespace test case with a default namespace in the destination ---\n"; 34 echo "--- Default namespace test case ---\n"; 36 // We don't expect the namespace to be imported because default namespaces on the same element don'… 51 --- Non-default namespace test case without a default namespace in the destination --- 56 --- Non-default namespace test case with a default namespace in the destination --- 61 --- Default namespace test case ---
|
H A D | gh12870_b.phpt | 13 test('http://www.w3.org/XML/1998/namespace', 'xml'); 14 test('http://www.w3.org/XML/1998/namespace', 'bar:xml'); 20 test('http://www.w3.org/XML/1998/namespace', 'xmlns:xml'); 21 test('http://www.w3.org/XML/1998/namespace', ''); 37 --- Testing "http://www.w3.org/XML/1998/namespace", "xml" --- 39 Attr namespaceURI: string(36) "http://www.w3.org/XML/1998/namespace" 46 --- Testing "http://www.w3.org/XML/1998/namespace", "bar:xml" --- 48 Attr namespaceURI: string(36) "http://www.w3.org/XML/1998/namespace" 74 --- Testing "http://www.w3.org/XML/1998/namespace", "xmlns:xml" --- 77 --- Testing "http://www.w3.org/XML/1998/namespace", "" ---
|
H A D | gh12616_3.phpt | 2 GH-12616 (DOM: Removing XMLNS namespace node results in invalid default: prefix) 31 foreach ($xpath->query("/container/child1/namespace::*") as $ns) { 43 foreach ($xpath->query("/container/child2/namespace::*") as $ns) { 65 string(36) "http://www.w3.org/XML/1998/namespace" 73 string(36) "http://www.w3.org/XML/1998/namespace" 88 string(36) "http://www.w3.org/XML/1998/namespace" 96 string(36) "http://www.w3.org/XML/1998/namespace" 110 string(36) "http://www.w3.org/XML/1998/namespace" 118 string(36) "http://www.w3.org/XML/1998/namespace" 133 string(36) "http://www.w3.org/XML/1998/namespace" [all …]
|
/PHP-8.3/ext/soap/tests/bugs/ |
H A D | bug69462.phpt | 2 Bug #69462 (__soapCall with a SoapVar that has a namespace but no name crashes) 7 $namespace = "http://example.com/ns"; 9 $client = new SoapClient(null, [ 'exceptions' => 1, 'location' => "", 'uri' => $namespace ]); 13 new SoapVar('value', XSD_STRING, null, null, null, $namespace) 15 SOAP_ENC_OBJECT, null, null, 'name', $namespace
|
/PHP-8.3/Zend/tests/enum/ |
H A D | enum-in-var-export.phpt | 6 namespace { 10 namespace A { 14 namespace A\B { 18 namespace Test {
|
H A D | keyword-no-bc-break.phpt | 6 namespace enum { 10 namespace foo { 15 namespace bar { 20 namespace {
|
/PHP-8.3/Zend/tests/grammar/ |
H A D | regression_011.phpt | 2 Testing instantiation using namespace:: prefix 6 namespace foo; 13 var_dump(new namespace\baz);
|
/PHP-8.3/Zend/tests/use_function/ |
H A D | ignore_constants.phpt | 6 namespace foo { 10 namespace { 14 namespace {
|