/PHP-8.0/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 | 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
|
H A D | constants_003.phpt | 2 Using namespace constants and constants of global scope 6 namespace foo; 12 var_dump(foo, namespace\foo, \foo\foo, \foo, constant('foo'), constant('foo\foo'));
|
H A D | bug43344_6.phpt | 2 Bug #43344.6 (Wrong error message for undefined namespace constant) 5 namespace Foo; 6 echo namespace\bar."\n";
|
H A D | name_collision_07.phpt | 2 Class declaration colliding with import (in namespace) 6 namespace Foo { 10 namespace Bazzle {
|
/PHP-8.0/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.0/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.0/ext/dom/tests/ |
H A D | bug54382.phpt | 20 echo 'namespace node does not exist.' . "\n"; 22 echo 'namespace node prefix=' . $ns2->prefix . "\n"; 23 echo 'namespace node namespaceURI=' . $ns2->namespaceURI . "\n"; 27 namespace node prefix=ns2 28 namespace node namespaceURI=http://ns2
|
/PHP-8.0/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.0/Zend/tests/use_function/ |
H A D | ignore_constants.phpt | 6 namespace foo { 10 namespace { 14 namespace {
|
H A D | shadow_global.phpt | 6 namespace { 11 namespace { 15 namespace {
|
/PHP-8.0/ext/dom/ |
H A D | php_dom.stub.php | 72 public function isDefaultNamespace(string $namespace) {} argument 84 public function lookupPrefix(string $namespace) {} argument 185 public function getAttributeNS(?string $namespace, string $localName) {} argument 191 public function getAttributeNodeNS(?string $namespace, string $localName) {} argument 197 public function getElementsByTagNameNS(?string $namespace, string $localName) {} argument 203 public function hasAttributeNS(?string $namespace, string $localName) {} argument 209 public function removeAttributeNS(?string $namespace, string $localName) {} argument 261 public function createAttributeNS(?string $namespace, string $qualifiedName) {} argument 294 public function getElementsByTagNameNS(?string $namespace, string $localName) {} argument 388 public function getNamedItemNS(?string $namespace, string $localName) {} argument [all …]
|
/PHP-8.0/Zend/tests/use_const/ |
H A D | shadow_global.phpt | 6 namespace { 11 namespace { 15 namespace {
|
H A D | alias.phpt | 6 namespace foo { 10 namespace bar { 14 namespace {
|