/PHP-5.5/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_003.phpt | 18 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 D | ReflectionClass_toString_003.phpt | 11 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 D | ReflectionMethod_getDeclaringClass_basic.phpt | 10 class B extends A { 14 $methodInfo = new ReflectionMethod('B', 'foo'); 17 $methodInfo = new ReflectionMethod('B', 'bar'); 28 string(1) "B"
|
H A D | ReflectionClass_getProperty_004.phpt | 18 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 D | bug53915.phpt | 8 const B = self::A; 17 const B = self::A; 21 print_r($rc->getConstant('B')); 26 [B] => 1
|
H A D | ReflectionProperty_getDocComment_basic.phpt | 27 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 D | ReflectionClass_isInstance_basic.phpt | 6 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 D | bug46246.phpt | 20 class B extends A 29 $b = new B; 38 Hello from B 39 Hello from B 40 Hello from B
|
H A D | get_class_vars_005.phpt | 11 class B extends A { 15 var_dump(get_class_vars('B')); 20 var_dump(get_class_vars('B')); 22 new B;
|
H A D | bug33171.phpt | 10 class B extends A 12 private $c = "B's c"; 23 $x = new B; 27 c => B's c
|
H A D | bug48215.phpt | 15 class B extends A 27 $b = new B(); 32 B::__construct 34 B::A
|
H A D | closure_039.phpt | 17 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 D | constants_basic_003.phpt | 6 class B 19 var_dump(B::$a); 20 var_dump(B::$c); 21 var_dump(B::ca); 22 var_dump(B::cc);
|
H A D | property_override_private_private.phpt | 14 class B extends A 16 private $p = "B::p"; 27 $b = new B; 34 B::p
|
H A D | property_override_private_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 27 $b = new B; 34 B::p
|
H A D | property_override_private_public.phpt | 14 class B extends A 16 public $p = "B::p"; 27 $b = new B; 34 B::p
|
H A D | property_override_privateStatic_private.phpt | 14 class B extends A 16 private $p = "B::p"; 26 $b = new B; 33 B::p
|
H A D | property_override_privateStatic_protected.phpt | 14 class B extends A 16 protected $p = "B::p"; 26 $b = new B; 33 B::p
|
H A D | property_override_privateStatic_public.phpt | 14 class B extends A 16 public $p = "B::p"; 26 $b = new B; 33 B::p
|
/PHP-5.5/ext/pcre/tests/ |
H A D | preg_filter.phpt | 6 $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 D | static_003.phpt | 1 --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 D | iconv_mime_decode.phpt | 44 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 D | sprintf_variation27.phpt | 21 "%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 D | sprintf_variation22.phpt | 29 "%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 D | README.namespaces | 64 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 …]
|