Home
last modified time | relevance | path

Searched refs:B (Results 76 – 100 of 504) sorted by relevance

12345678910>>...21

/PHP-5.5/ext/reflection/tests/
H A DReflectionClass_getProperty_003.phpt18 class B extends A {
19 static public $pubC = "pubC in B";
28 class C extends B {
79 showInfo("B::pubC");
80 showInfo("B::protC");
81 showInfo("B::privC");
121 %unicode|string%(1) "B"
129 %unicode|string%(1) "B"
189 %unicode|string%(1) "B"
197 %unicode|string%(1) "B"
[all …]
H A DReflectionClass_toString_003.phpt11 Class B extends A {
14 Class C extends B {
20 foreach (array('A', 'B', 'C', 'D') as $class) {
54 ----( Reflection class B: )----
55 Class [ <user> class B extends A ] {
79 Class [ <user> class C extends B ] {
116 Method [ <user, overwrites B> private method f ] {
H A DReflectionMethod_getDeclaringClass_basic.phpt10 class B extends A {
14 $methodInfo = new ReflectionMethod('B', 'foo');
17 $methodInfo = new ReflectionMethod('B', 'bar');
28 string(1) "B"
H A DReflectionClass_getProperty_004.phpt18 class B extends A {
19 public $pubC = "pubC in B";
23 public $pubB = "pubB in B";
28 class C extends B {
79 showInfo("B::pubC");
80 showInfo("B::protC");
81 showInfo("B::privC");
121 %unicode|string%(1) "B"
129 %unicode|string%(1) "B"
189 %unicode|string%(1) "B"
[all …]
H A Dbug53915.phpt8 const B = self::A;
17 const B = self::A;
21 print_r($rc->getConstant('B'));
26 [B] => 1
H A DReflectionProperty_getDocComment_basic.phpt27 class B extends A {
35 foreach(array('A', 'B') as $class) {
78 ---> Doc comment for B::$a:
82 ---> Doc comment for B::$b:
86 ---> Doc comment for B::$c:
90 ---> Doc comment for B::$e:
94 ---> Doc comment for B::$d:
100 ---> Doc comment for B::$f:
H A DReflectionClass_isInstance_basic.phpt6 class B extends A {}
13 $classes = array("A", "B", "C", "I", "X");
16 "myB" => new B,
36 is myA a B? bool(false)
37 is myB a B? bool(true)
38 is myC a B? bool(false)
39 is myX a B? bool(false)
/PHP-5.5/Zend/tests/
H A Dbug46246.phpt20 class B extends A
29 $b = new B;
38 Hello from B
39 Hello from B
40 Hello from B
H A Dget_class_vars_005.phpt11 class B extends A {
15 var_dump(get_class_vars('B'));
20 var_dump(get_class_vars('B'));
22 new B;
H A Dbug33171.phpt10 class B extends A
12 private $c = "B's c";
23 $x = new B;
27 c => B's c
H A Dbug48215.phpt15 class B extends A
27 $b = new B();
32 B::__construct
34 B::A
H A Dclosure_039.phpt17 class B extends A {
25 $a = new B(-5);
26 $b = new B(10);
40 $cb = $ca->bindTo($b, 'B');
41 $cb2 = Closure::bind($ca, $b, 'B');
58 Fatal error: Cannot access private property B::$x in %s on line %d
/PHP-5.5/tests/classes/
H A Dconstants_basic_003.phpt6 class B
19 var_dump(B::$a);
20 var_dump(B::$c);
21 var_dump(B::ca);
22 var_dump(B::cc);
H A Dproperty_override_private_private.phpt14 class B extends A
16 private $p = "B::p";
27 $b = new B;
34 B::p
H A Dproperty_override_private_protected.phpt14 class B extends A
16 protected $p = "B::p";
27 $b = new B;
34 B::p
H A Dproperty_override_private_public.phpt14 class B extends A
16 public $p = "B::p";
27 $b = new B;
34 B::p
H A Dproperty_override_privateStatic_private.phpt14 class B extends A
16 private $p = "B::p";
26 $b = new B;
33 B::p
H A Dproperty_override_privateStatic_protected.phpt14 class B extends A
16 protected $p = "B::p";
26 $b = new B;
33 B::p
H A Dproperty_override_privateStatic_public.phpt14 class B extends A
16 public $p = "B::p";
26 $b = new B;
33 B::p
/PHP-5.5/ext/pcre/tests/
H A Dpreg_filter.phpt6 $subject = array('1', 'a', '2', 'b', '3', 'A', 'B', '4');
8 $replace = array('A:$0', 'B:$0', 'C:$0');
19 string(5) "B:C:a"
23 string(3) "B:b"
/PHP-5.5/Zend/tests/traits/
H A Dstatic_003.phpt1 --TEST--
2 Traits with late static bindings.
3 --CREDITS--
4 Simas Toleikis simast@gmail.com
5 --FILE--
6 <?php
7
8 trait TestTrait {
9 public static function test() {
10 return static::$test;
[all …]
/PHP-5.5/ext/iconv/tests/
H A Diconv_mime_decode.phpt44 From: =?ISO-2022-JP?B?GyRCJTUbKEI=?=
45 =?ISO-2022-JP?B?GyRCJXMlVxsoQg==?=
46 =?ISO-2022-JP?B?GyRCJWtKOBsoQg==?=
47 =?ISO-2022-JP?B?GyRCO3pOcxsoQg==?=
48 =?ISO-2022-JP?B?GyRCJTUlcxsoQg==?=
49 =?ISO-2022-JP?B?GyRCJVclaxsoQg==?=
50 =?ISO-2022-JP?B?GyRCSjg7ehsoQg==?=
51 =?ISO-2022-JP?B?GyRCTnNGfBsoQg==?=
52 =?ISO-2022-JP?B?GyRCS1w4bBsoQg==?=
53 =?ISO-2022-JP?B?GyRCJUYlLRsoQg==?=
[all …]
/PHP-5.5/ext/standard/tests/strings/
H A Dsprintf_variation27.phpt21 "%30c", "%[a-bA-B@#$&]", "%*c"
51 string(11) "a-bA-B@#$&]"
66 string(11) "a-bA-B@#$&]"
81 string(11) "a-bA-B@#$&]"
96 string(11) "a-bA-B@#$&]"
111 string(11) "a-bA-B@#$&]"
126 string(11) "a-bA-B@#$&]"
141 string(11) "a-bA-B@#$&]"
156 string(11) "a-bA-B@#$&]"
171 string(11) "a-bA-B@#$&]"
H A Dsprintf_variation22.phpt29 "%30c", "%[a-bA-B@#$&]", "%*c"
59 string(11) "a-bA-B@#$&]"
74 string(11) "a-bA-B@#$&]"
89 string(11) "a-bA-B@#$&]"
104 string(11) "a-bA-B@#$&]"
119 string(11) "a-bA-B@#$&]"
134 string(11) "a-bA-B@#$&]"
149 string(11) "a-bA-B@#$&]"
164 string(11) "a-bA-B@#$&]"
/PHP-5.5/
H A DREADME.namespaces64 namespace A\B\C;
73 namespace A\B\C;
87 it is translated to "A\B\C\D\e()".
90 is translated to "new A\B\C()".
107 A\B\foo() first tries to call function foo() from namespace A\B, then
111 namespace. So "new A\B\C()" refers to class C from namespace A\B.
124 new B(); // first tries to create object of class "B" defined in namespace "A"
125 // then creates object of internal class "B"
126 new \B(); // creates object of class "B" defined in global scope
137 B\foo(); // first tries to call function "foo" from namespace "A\B"
[all …]

Completed in 58 milliseconds

12345678910>>...21