Home
last modified time | relevance | path

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

1234567

/PHP-5.3/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 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 Dclass_alias_015.phpt2 Testing instantiation using namespace:: prefix
6 namespace foo;
13 var_dump(new namespace\baz);
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 Dns_077_4.phpt2 077: Unknown compile-time constants in namespace
5 namespace foo;
7 function foo($a = array(0 => namespace\unknown))
H A Dns_077_3.phpt2 077: Unknown compile-time constants in namespace
5 namespace foo;
7 function foo($a = array(namespace\unknown => unknown))
H A Dbug43344_7.phpt2 Bug #43344.7 (Wrong error message for undefined namespace constant)
5 namespace Foo;
6 function f($a=namespace\bar) {
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_8.phpt2 Bug #43344.8 (Wrong error message for undefined namespace constant)
5 namespace Foo;
6 function f($a=array(namespace\bar)) {
H A Dbug43344_9.phpt2 Bug #43344.9 (Wrong error message for undefined namespace constant)
5 namespace Foo;
6 function f($a=array(namespace\bar=>0)) {
H A Dns_068.phpt2 068: Code before namespace
6 namespace foo;
8 namespace bar;
H A Dns_083.phpt2 083: bracketed namespace with junk before the ns declaration
7 namespace foo {
9 namespace ok {
H A Dns_085.phpt2 085: bracketed namespace
5 namespace foo {
13 namespace {
H A Dns_086.phpt2 086: bracketed namespace with encoding
6 namespace foo {
14 namespace {
H A Dbug44653.phpt2 Bug #44653 (Invalid namespace name resolution)
5 namespace A;
9 namespace B;
H A Dclass_constants_004.phpt2 Testing constants (normal, namespace, class and interface)
6 namespace foo;
25 namespace\foo,
H A Dbug54804.inc2 namespace b\c {}
3 namespace b\d {}
H A Dns_065.inc2 namespace X\Y;
6 namespace X\Z;
/PHP-5.3/
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-5.3/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 …]

Completed in 41 milliseconds

1234567