Searched refs:namespace (Results 1 – 25 of 174) sorted by relevance
1234567
/PHP-5.3/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 | constants_009.phpt | 2 Accessing constants inside namespace 6 namespace foo\x; 15 var_dump(namespace\x, 17 namespace\x::x);
|
H A D | ns_082.phpt | 2 082: bracketed namespace with closing tag 5 namespace foo { 7 namespace ok {
|
H A D | ns_087.phpt | 2 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 D | class_alias_015.phpt | 2 Testing instantiation using namespace:: prefix 6 namespace foo; 13 var_dump(new namespace\baz);
|
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 | ns_077_4.phpt | 2 077: Unknown compile-time constants in namespace 5 namespace foo; 7 function foo($a = array(0 => namespace\unknown))
|
H A D | ns_077_3.phpt | 2 077: Unknown compile-time constants in namespace 5 namespace foo; 7 function foo($a = array(namespace\unknown => unknown))
|
H A D | bug43344_7.phpt | 2 Bug #43344.7 (Wrong error message for undefined namespace constant) 5 namespace Foo; 6 function f($a=namespace\bar) {
|
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_8.phpt | 2 Bug #43344.8 (Wrong error message for undefined namespace constant) 5 namespace Foo; 6 function f($a=array(namespace\bar)) {
|
H A D | bug43344_9.phpt | 2 Bug #43344.9 (Wrong error message for undefined namespace constant) 5 namespace Foo; 6 function f($a=array(namespace\bar=>0)) {
|
H A D | ns_068.phpt | 2 068: Code before namespace 6 namespace foo; 8 namespace bar;
|
H A D | ns_083.phpt | 2 083: bracketed namespace with junk before the ns declaration 7 namespace foo { 9 namespace ok {
|
H A D | ns_085.phpt | 2 085: bracketed namespace 5 namespace foo { 13 namespace {
|
H A D | ns_086.phpt | 2 086: bracketed namespace with encoding 6 namespace foo { 14 namespace {
|
H A D | bug44653.phpt | 2 Bug #44653 (Invalid namespace name resolution) 5 namespace A; 9 namespace B;
|
H A D | class_constants_004.phpt | 2 Testing constants (normal, namespace, class and interface) 6 namespace foo; 25 namespace\foo,
|
H A D | bug54804.inc | 2 namespace b\c {} 3 namespace b\d {}
|
H A D | ns_065.inc | 2 namespace X\Y; 6 namespace X\Z;
|
/PHP-5.3/ |
H A D | README.namespaces | 13 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 D | 002.txt | 31 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