Searched refs:namespace (Results 1 – 25 of 271) sorted by relevance
1234567891011
/PHP-7.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 | 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 | 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 { 24 Fatal error: No code may exist outside of namespace {} in %s on line 10
|
H A D | special_name_error1.phpt | 2 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 D | class_alias_015.phpt | 2 Testing instantiation using namespace:: prefix 6 namespace foo; 13 var_dump(new namespace\baz);
|
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 {
|
H A D | name_collision_08.phpt | 2 Function declaration colliding with import (in namespace) 6 namespace Foo { 10 namespace Bazzle {
|
H A D | name_collision_09.phpt | 2 Class declaration colliding with import (in namespace) 6 namespace Foo { 10 namespace Bazzle {
|
H A D | ns_068.phpt | 2 068: Code before namespace 6 namespace foo; 8 namespace bar;
|
/PHP-7.0/ |
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-7.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-7.0/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 …]
|
/PHP-7.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"; 26 namespace node prefix=ns2 27 namespace node namespaceURI=http://ns2
|
/PHP-7.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-7.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-7.0/Zend/tests/use_const/ |
H A D | alias.phpt | 6 namespace foo { 10 namespace bar { 14 namespace {
|
H A D | shadow_global.phpt | 6 namespace { 11 namespace { 15 namespace {
|
Completed in 25 milliseconds
1234567891011