Home
last modified time | relevance | path

Searched refs:namespace (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/PHP-8.0/Zend/tests/
H A Dns_057.phpt2 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 Dns_058.phpt13 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 Dns_081.phpt2 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 Dns_084.phpt2 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 Dnamespace_name_reserved_keywords.phpt2 Reserved keywords in namespace name
6 namespace iter\fn {
12 namespace fn {
18 namespace self {
24 namespace {
H A Dnamespace_name_namespace.phpt2 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 Dbug77966.phpt2 Bug #77966: Cannot alias a method named "namespace"
7 function namespace() {
14 namespace as bar;
20 $c->namespace();
H A Dconstants_009.phpt2 Accessing constants inside namespace
6 namespace foo\x;
15 var_dump(namespace\x,
17 namespace\x::x);
H A Dnamespace_name_namespace_start.phpt2 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 Dns_082.phpt2 082: bracketed namespace with closing tag
5 namespace foo {
7 namespace ok {
H A Dbug70164.phpt2 …_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 Dns_087.phpt2 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 Dbug43343.phpt5 namespace Foo;
8 var_dump(new namespace::$foo);
11 Parse error: syntax error, unexpected token "namespace", expecting ":" in %s on line %d
H A Dconstants_003.phpt2 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 Dbug43344_6.phpt2 Bug #43344.6 (Wrong error message for undefined namespace constant)
5 namespace Foo;
6 echo namespace\bar."\n";
H A Dname_collision_07.phpt2 Class declaration colliding with import (in namespace)
6 namespace Foo {
10 namespace Bazzle {
/PHP-8.0/Zend/tests/attributes/
H A D004_name_resolution.phpt6 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 Dbug69462.phpt2 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 Dbug54382.phpt20 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 Dregression_011.phpt2 Testing instantiation using namespace:: prefix
6 namespace foo;
13 var_dump(new namespace\baz);
/PHP-8.0/Zend/tests/use_function/
H A Dignore_constants.phpt6 namespace foo {
10 namespace {
14 namespace {
H A Dshadow_global.phpt6 namespace {
11 namespace {
15 namespace {
/PHP-8.0/ext/dom/
H A Dphp_dom.stub.php72 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 Dshadow_global.phpt6 namespace {
11 namespace {
15 namespace {
H A Dalias.phpt6 namespace foo {
10 namespace bar {
14 namespace {

Completed in 28 milliseconds

12345678910>>...14