/php-src/tests/classes/ |
H A D | property_override_private_privateStatic.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
H A D | property_override_private_protectedStatic.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
H A D | property_override_private_publicStatic.phpt | 5 class A 7 private $p = "A::p"; 14 class B extends A 24 $a = new A; 32 A::p 33 A::p
|
H A D | property_override_protectedStatic_protectedStatic.phpt | 5 class A 7 protected static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 A::p (static) 31 A::p (static)
|
H A D | property_override_publicStatic_publicStatic.phpt | 5 class A 7 public static $p = "A::p (static)"; 14 class B extends A 24 A::showA(); 30 A::p (static) 31 A::p (static)
|
/php-src/Zend/tests/ |
H A D | selfParent_001.phpt | 5 class A { 6 const myConst = "const in A"; 14 class B extends A { 22 A::test(); 26 string(10) "const in A" 27 string(10) "const in A"
|
H A D | selfParent_002.phpt | 5 class A { 6 const myConst = "const in A"; 14 class B extends A { 23 A::test(); 26 string(10) "const in A" 27 string(10) "const in A"
|
H A D | first_class_callable_dynamic.phpt | 6 class A { 20 $name = ['A', 'b']; 24 $name = [new A, 'c']; 28 $name1 = 'A'; 34 $fn = (new A)->$name2(...); 37 $fn = [A::class, 'b'](...); 41 $o->prop = A::b(...);
|
H A D | bug64239_3.phpt | 5 class A { 9 class C extends A { 21 $a = new A(); 30 #0 %s(%d): A->Bmethod() 31 #0 %s(%d): A->t2method() 33 #0 %s(%d): A->t2method()
|
H A D | bug44653.phpt | 5 namespace A; 10 class A { 17 var_dump(\A\XX); 18 A::fooBar(); 19 \A\fooBar(); 27 A\fooBar
|
H A D | bug60833.phpt | 5 class A { 6 static $x = "A"; 13 class B extends A { 26 object(A)#2 (0) { 28 object(A)#2 (0) { 32 object(A)#2 (0) {
|
H A D | lsb_024.phpt | 6 class A { 7 private static $value = 'A'; 13 class B extends A { 16 class C extends A { 19 A::out(); 24 A
|
/php-src/Zend/tests/enum/ |
H A D | enum-in-var-export.phpt | 10 namespace A { 14 namespace A\B { 20 echo var_export(\A\Foo::BAR, true) . "\n"; 21 echo var_export(\A\B\Foo::BAR, true) . "\n"; 27 \A\Foo::BAR 28 \A\B\Foo::BAR
|
H A D | gh7821.phpt | 7 public const A = 'A'; 12 case C = I::A; 16 var_dump(B::A); 23 string(1) "A" 25 string(1) "A"
|
/php-src/Zend/tests/property_hooks/ |
H A D | default_on_hooks.phpt | 6 class A { 19 $a = new A(); 27 object(A)#1 (1) { 31 A::$prop::get 33 A::$prop::set 34 A::$prop::get
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug31402.phpt | 17 var $A = array(); 21 $this->A[1] = new TestX(1); 23 $this->A[2] = & $obj; 24 $this->A[3] = & $this->A[2]; 25 $this->B = $this->A[1]; 38 ["A"]=> 63 ["A"]=>
|
/php-src/ext/dom/tests/ |
H A D | DOMElement_insertAdjacentText.phpt | 24 $p->insertAdjacentText("beforebegin", 'A'); 62 <container>A<p>foo</p></container> 64 <container>A<p>Bfoo</p></container> 66 <container>A<p>BfooC</p></container> 68 <container>A<p>BfooC</p>D</container> 71 <container>A<p>foo</p></container> 73 <container>A<p>Bfoo</p></container> 75 <container>A<p>BfooC</p></container> 77 <container>A<p>BfooC</p>D</container> 79 <empty>A</empty> [all …]
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload_error4.phpt | 7 if ($class == 'A') { 8 class A { 11 var_dump(new A); 13 class B extends A { 24 public function method(): A {} 34 object(A)#2 (0) { 39 Fatal error: Declaration of Y::method(): A must be compatible with X::method(): B in %s on line %d
|
H A D | class_order_autoload_error8.phpt | 7 if ($class == 'A') { 8 class A 13 var_dump(new A); 15 class B extends A 22 class X extends A {} 34 object(A)#2 (0) { 39 Fatal error: Declaration of B::m(): X must be compatible with A::m(): B in %s on line %d
|
H A D | class_order_autoload_error9.phpt | 7 if ($class == 'A') { 8 class A 13 var_dump(new A); 15 class B extends A 25 class Y extends A {} 34 object(A)#2 (0) { 39 Fatal error: Declaration of B::m2(): Y must be compatible with A::m2(): B in %s on line %d
|
/php-src/ext/pdo/tests/ |
H A D | pdo_011.phpt | 93 callback(1,N/A) 94 callback(2,N/A) 95 callback(3,N/A) 96 callback(4,N/A) 125 callback(1,A) 133 string(1) "A" 165 string(1) "A" 203 string(1) "A" 236 string(1) "A" 262 string(1) "A" [all …]
|
H A D | pdo_007.phpt | 19 $db->exec("INSERT INTO test007 VALUES('A', 'A')"); 20 $db->exec("INSERT INTO test007 VALUES('B', 'A')"); 40 ["A"]=> 43 string(1) "A" 48 string(1) "A" 57 ["A"]=> 60 string(1) "A" 65 string(1) "A"
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_toString_002.phpt | 8 Class A { 11 Class B extends A { 20 foreach (array('A', 'B', 'C', 'D') as $class) { 28 ----( Reflection class A: )---- 29 Class [ <user> class A ] { 53 Class [ <user> class B extends A ] { 69 Method [ <user, overwrites A, prototype A> public method f ] { 93 Method [ <user, inherits B, prototype A> public method f ] { 117 Method [ <user, overwrites B, prototype A> public method f ] {
|
H A D | bug79487.phpt | 13 class A { 14 public static $a = 'A old'; 16 class B extends A { 21 A::$a = 'A new'; 33 string(5) "A new"
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | toggle.phpt | 8 $dom = DOM\XMLDocument::createFromString('<root class="A B C"/>'); 12 echo "--- Toggle A (forced add) ---\n"; 14 var_dump($list->toggle("A", true)); 18 echo "--- Toggle A (not forced) ---\n"; 20 var_dump($list->toggle("A")); 24 echo "--- Toggle A (forced remove) ---\n"; 26 var_dump($list->toggle("A", false)); 57 --- Toggle A (forced add) --- 60 <root class="A B C"/> 61 --- Toggle A (not forced) --- [all …]
|