/php-src/ext/pdo_firebird/tests/ |
H A D | bug_53280.phpt | 8 A bug in firebird causes a memory leak when calling `isc_attach_database()`. 16 $dbh->exec('CREATE TABLE test53280(A VARCHAR(30), B VARCHAR(30), C VARCHAR(30))'); 17 $dbh->exec("INSERT INTO test53280 VALUES ('A', 'B', 'C')"); 19 $stmt1 = "SELECT B FROM test53280 WHERE A = ? AND B = ?"; 20 $stmt2 = "SELECT B, C FROM test53280 WHERE A = ? AND B = ?"; 23 $stmth2->execute(array('A', 'B')); 28 $stmth1->execute(array('A', 'B'));
|
/php-src/Zend/tests/property_hooks/ |
H A D | interface_get_by_ref_virtual.phpt | 10 class A implements I { 22 $a = new A(); 28 object(A)#1 (1) { 29 ["_prop":"A":private]=>
|
H A D | interface_get_value_as_ref.phpt | 10 class A implements I { 22 $a = new A(); 28 object(A)#1 (1) { 29 ["_prop":"A":private]=>
|
/php-src/Zend/tests/ |
H A D | bug71428.3.phpt | 5 class A { } 6 class B { public function m(A $a = NULL, $n) { echo "B.m";} }; 7 class C extends B { public function m(A $a , $n) { echo "C.m";} }; 12 Fatal error: Declaration of C::m(A $a, $n) must be compatible with B::m(?A $a, $n) in %sbug71428.3.…
|
H A D | bug34678.phpt | 5 class A { 11 class B extends A { 20 if (is_callable(array('A', 'foo'))) { 21 call_user_func(array('A', 'foo'));
|
H A D | ns_091.phpt | 6 class A { function __construct() {echo __METHOD__,"\n";} } 13 use Foo\Bar\{ A, Baz\B }; 14 new A; 19 Foo\Bar\A::__construct
|
/php-src/Zend/tests/type_declarations/variance/ |
H A D | class_order_autoload5.phpt | 8 if ($class == 'A') { 9 class A { 12 var_dump(new A); 14 class B extends A { 30 public function method(): A {} 45 object(A)#2 (0) {
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_001.phpt | 47 echo " --> Check for A: "; 48 var_dump($rc->getProperty("A")); 75 --> Check for A: Property pubf::$A does not exist 90 --> Check for A: Property subpubf::$A does not exist 105 --> Check for A: Property protf::$A does not exist 120 --> Check for A: Property subprotf::$A does not exist 135 --> Check for A: Property privf::$A does not exist 145 --> Check for A: Property subprivf::$A does not exist
|
H A D | ReflectionClass_setStaticPropertyValue_001.phpt | 8 class A { 14 class B extends A { 20 echo "Set static values in A:\n"; 21 $rcA = new ReflectionClass('A'); 36 echo "\nSet non-existent values from A with no default value:\n"; 53 Set static values in A: 75 Set non-existent values from A with no default value: 76 Class A does not have a property named protectedDoesNotExist 77 Class A does not have a property named privateDoesNotExist
|
H A D | bug75231.phpt | 5 class A 17 class B extends A 20 print_r((new ReflectionMethod(B::class, 'method'))->invoke(new A()).PHP_EOL); 21 print_r((new ReflectionProperty(B::class, 'prop'))->getValue(new A()).PHP_EOL);
|
H A D | bug60367.phpt | 5 abstract class A { 7 const WHAT = 'A'; 15 class B extends A { 24 $method = ReflectionMethod::createFromMethodName("A::call");
|
/php-src/ext/dom/tests/ |
H A D | DOMElement_insertAdjacentElement.phpt | 94 string(1) "A" 96 <container><A/><p>foo</p></container> 99 <container><A/><p><B/>foo</p></container> 102 <container><A/><p><B/>foo<C/></p></container> 105 <container><A/><p><B/>foo<C/></p><D/></container> 107 string(1) "A" 109 <container><A/><p>foo</p></container> 112 <container><A/><p><B/>foo</p></container> 115 <container><A/><p><B/>foo<C/></p></container> 119 string(1) "A" [all …]
|
/php-src/ext/standard/tests/file/ |
H A D | basename_variation1.phpt | 15 "A:/", 17 "A:\\", 57 basename for path A:/foo is: 59 basename for path A:/foo/ is: 61 basename for path A:/foo\ is: 98 string(6) "A:\foo" 100 string(6) "A:\foo" 102 string(7) "A:\foo\" 104 string(10) "A:\foo.bar" 106 string(10) "A:\foo.bar" [all …]
|
/php-src/ext/random/tests/03_randomizer/ |
H A D | engine_unsafe_empty_string.phpt | 78 A random engine must return a non-empty string 79 A random engine must return a non-empty string 80 A random engine must return a non-empty string 81 A random engine must return a non-empty string 82 A random engine must return a non-empty string 83 A random engine must return a non-empty string 84 A random engine must return a non-empty string 85 A random engine must return a non-empty string 86 A random engine must return a non-empty string
|
/php-src/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | invalid1.phpt | 6 interface A {} 7 interface B extends A {} 19 /* This fails because A is a parent type for B */ 21 public function foo(): (A&C)|X { 28 Fatal error: Declaration of FooChild::foo(): (A&C)|X must be compatible with Foo::foo(): (B&C)|X in…
|
/php-src/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid1.phpt | 6 interface A {} 7 interface B extends A {} 18 /* This fails because A is a parent type for B */ 20 public function foo(): A&C { 27 Fatal error: Declaration of FooChild::foo(): A&C must be compatible with Foo::foo(): B&C in %s on l…
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_properties_114.phpt | 5 class A implements IteratorAggregate { 15 $obj = new A; 34 Cannot assign array to reference held by property A::$foo of type string 35 Cannot assign array to reference held by property A::$foo of type string 36 object(A)#1 (1) {
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | bug55294.phpt | 9 <A xmlns="http://example.com/A"> 13 </A> 18 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true… 26 <B xmlns="http://example.com/A">
|
/php-src/Zend/tests/return_types/ |
H A D | inheritance008.phpt | 10 public static function test() : A { 11 return new A; 16 public static function test() : A { 27 object(A)#%d (0) {
|
/php-src/ext/standard/tests/strings/ |
H A D | bug54238.phpt | 5 $f = array(array('A', 'A')); 22 string(1) "A" 24 string(1) "A"
|
/php-src/ext/opcache/tests/ |
H A D | bug73583.phpt | 13 class A { } 14 function A() { } 15 function A() { } 19 Fatal error: Cannot redeclare function A() (previously declared in %sbug73583.php:4) in %sbug73583.…
|
/php-src/ext/dom/tests/modern/common/ |
H A D | Element_insertAdjacentElement.phpt | 12 var_dump($p->insertAdjacentElement(Dom\AdjacentPosition::BeforeBegin, $dom->createElement('A'))->ta… 26 string(1) "A" 28 <container><A/><p>foo</p></container> 31 <container><A/><p><B/>foo</p></container> 34 <container><A/><p><B/>foo<C/></p></container> 37 <container><A/><p><B/>foo<C/></p><D/></container>
|
/php-src/tests/classes/ |
H A D | bug23951.phpt | 9 class A { 15 class B extends A { 21 $a = new A; 30 A Object
|
/php-src/ext/standard/tests/general_functions/ |
H A D | is_callable_abstract_method-deprecated.phpt | 6 abstract class A { 10 class B extends A { 14 $foo = [new B, 'A::foo']; 19 Deprecated: Callables of the form ["B", "A::foo"] are deprecated in %s on line %d
|
/php-src/ext/opcache/tests/jit/ |
H A D | method_call_001.phpt | 12 return A::$o; 14 class A { 30 A::$o = new B; 31 A::loop();
|