/PHP-8.2/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.2/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.2/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 | 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" 84 string(36) "http://www.w3.org/XML/1998/namespace" 92 string(36) "http://www.w3.org/XML/1998/namespace" 102 string(36) "http://www.w3.org/XML/1998/namespace" 110 string(36) "http://www.w3.org/XML/1998/namespace" 121 string(36) "http://www.w3.org/XML/1998/namespace" [all …]
|
/PHP-8.2/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.2/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.2/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.2/Zend/tests/use_function/ |
H A D | ignore_constants.phpt | 6 namespace foo { 10 namespace { 14 namespace {
|
/PHP-8.2/ext/xmlreader/tests/ |
H A D | 015.phpt | 2 XMLReader: libxml2 XML Reader, Move cursor to a named attribute within a namespace 11 <books xmlns:ns1="http://www.ns1.namespace.org/" xmlns:ns2="http://www.ns2.namespace.org/"><book ns… 27 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns1.namespace.org/'); 31 $attr = $reader->moveToAttributeNs('idx', 'http://www.ns2.namespace.org/'); 35 $attr = $reader->moveToAttributeNs('isbn', 'http://www.ns2.namespace.org/'); 40 $attr = $reader->moveToAttributeNs('elephpant', 'http://www.ns2.namespace.org/'); 41 …at move should return a result of false, because there is no elephpant attribute (in any namespace)
|
/PHP-8.2/build/ |
H A D | php_cxx_compile_stdcxx.m4 | 149 namespace cxx11 193 namespace test_decltype 248 namespace test_noexcept 322 namespace test_lambdas 416 } // namespace cxx11 440 namespace cxx14 540 } // namespace cxx14 568 namespace cxx17 922 } // namespace cxx17 945 namespace cxx20 [all …]
|