Home
last modified time | relevance | path

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

1234567891011

/PHP-7.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 Dconstants_009.phpt2 Accessing constants inside namespace
6 namespace foo\x;
15 var_dump(namespace\x,
17 namespace\x::x);
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 {
24 Fatal error: No code may exist outside of namespace {} in %s on line 10
H A Dspecial_name_error1.phpt2 Cannot use special class name as namespace
6 namespace self;
10 Fatal error: Cannot use 'self' as namespace name in %s on line %d
H A Dclass_alias_015.phpt2 Testing instantiation using namespace:: prefix
6 namespace foo;
13 var_dump(new namespace\baz);
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 {
H A Dname_collision_08.phpt2 Function declaration colliding with import (in namespace)
6 namespace Foo {
10 namespace Bazzle {
H A Dname_collision_09.phpt2 Class declaration colliding with import (in namespace)
6 namespace Foo {
10 namespace Bazzle {
H A Dns_068.phpt2 068: Code before namespace
6 namespace foo;
8 namespace bar;
/PHP-7.0/
H A DREADME.namespaces13 namespace Zend\DB;
24 namespace name. Inside namespace, local name always takes precedence over
64 namespace A\B\C;
73 namespace A\B\C;
100 function from the global namespace.
111 namespace. So "new A\B\C()" refers to class C from namespace A\B.
116 namespace A;
123 namespace A;
130 namespace A;
136 namespace A;
[all …]
/PHP-7.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-7.0/Zend/RFCs/
H A D002.txt31 namespace, defaulting to the current global one. The current name
33 spaces than the current one may be referenced using a new namespace
44 The namespace operator ":" is used to refer to symbols in other
55 only the namespace operator:
68 ":" character in the symbol qualifier that is the actual namespace
79 the one after "Space" that is the namespace operator.)
87 the global namespace:
89 1 namespace HTML;
100 1 namespace HTML:Form;
117 # second file with the same namespace statement?
[all …]
/PHP-7.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";
26 namespace node prefix=ns2
27 namespace node namespaceURI=http://ns2
/PHP-7.0/Zend/tests/grammar/
H A Dregression_011.phpt2 Testing instantiation using namespace:: prefix
6 namespace foo;
13 var_dump(new namespace\baz);
/PHP-7.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-7.0/Zend/tests/use_const/
H A Dalias.phpt6 namespace foo {
10 namespace bar {
14 namespace {
H A Dshadow_global.phpt6 namespace {
11 namespace {
15 namespace {

Completed in 25 milliseconds

1234567891011