/PHP-8.2/Zend/tests/traits/ |
H A D | bug60165b.phpt | 6 trait A { 11 use A { 12 A::nonExistent as barA; 17 Fatal error: An alias was defined for A::nonExistent but this method does not exist in %s on line %d
|
/PHP-8.2/ext/pdo_sqlite/tests/ |
H A D | bug46542.phpt | 7 class A extends PDO 10 $a = new A('sqlite:' . __DIR__ . '/dummy.db'); 21 A::truc 22 A::TRUC
|
/PHP-8.2/ext/soap/tests/bugs/ |
H A D | bug66112.phpt | 11 …ient=new soapclient(WSDL, array('typemap'=>array(array("type_ns"=>"uri:mist", "type_name"=>"A")))); 16 return array("A"=>"ABC","B"=>"sss"); 18 $s = new SoapServer(WSDL, array('typemap'=>array(array("type_ns"=>"uri:mist", "type_name"=>"A")))); 26 <uri:Request><uri:A>XXX</uri:A><uri:B>yyy</uri:B></uri:Request> 35 ….org/soap/envelope/" xmlns:ns1="uri:mist"><SOAP-ENV:Body><ns1:Response><A>ABC</A><B>sss</B></ns1:R…
|
/PHP-8.2/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) {
|
H A D | loading_exception1.phpt | 13 class B extends A { 34 class B extends A implements I { 42 Class A does not exist 43 Class A does not exist 45 Fatal error: During inheritance of B with variance dependencies: Uncaught Exception: Class A does n… 47 #0 %s(%d): {closure}('A')
|
/PHP-8.2/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 = new ReflectionMethod("A::call");
|
/PHP-8.2/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-8.2/ext/opcache/tests/ |
H A D | bug73583.phpt | 13 class A { } 14 function A() { } 15 function A() { } 19 Fatal error: Cannot redeclare A() (previously declared in %sbug73583.php:4) in %sbug73583.php on li…
|
/PHP-8.2/Zend/tests/ |
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
|
H A D | ns_092.phpt | 6 class A { function __construct() {echo __METHOD__,"\n";} } 20 A // <- this one must fail 29 use Foo\Bar\{ A, B, const BAR as BOZ }; 35 new A(); 48 A(); 53 Foo\Bar\A::__construct 67 Fatal error: Uncaught Error: Call to undefined function Foo\Bar\A() in %sns_092.php:45
|
/PHP-8.2/tests/classes/ |
H A D | type_hinting_004.phpt | 7 class A { } 8 function f1(A $a) { 11 function f2(A $a = null) { 20 call_user_func('f1', new A); 35 call_user_func('f2', new A); 47 static function f1(A $a) { 54 static function f2(A $a = null) { 69 call_user_func(array('C', 'f1'), new A); 96 function f1(A $a) { 103 function f2(A $a = null) { [all …]
|
H A D | bug23951.phpt | 9 class A { 15 class B extends A { 21 $a = new A; 30 A Object
|
H A D | method_override_optional_arg_001.phpt | 6 class A { 11 class B extends A { 18 class C extends A { 29 Fatal error: Declaration of C::foo() must be compatible with A::foo($arg1 = 1) in %s on line %d
|
/PHP-8.2/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-8.2/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-8.2/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-8.2/ext/dom/tests/ |
H A D | bug55294.phpt | 12 <A xmlns="http://example.com/A"> 16 </A> 21 $node = $bDOM->importNode($aDOM->getElementsByTagNameNS('http://example.com/A', 'B')->item(0), true… 29 <B xmlns="http://example.com/A">
|
/PHP-8.2/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-8.2/ext/standard/tests/strings/ |
H A D | bug54238.phpt | 5 $f = array(array('A', 'A')); 22 string(1) "A" 24 string(1) "A"
|
/PHP-8.2/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-8.2/ext/fileinfo/tests/ |
H A D | bug69107.phpt | 9 var_dump($finfo->buffer("<?php\nclass A{}")); 10 var_dump($finfo->buffer("<?php class A{}")); 11 var_dump($finfo->buffer("<?php\tclass A{}")); 12 var_dump($finfo->buffer("<?php\n\rclass A{}"));
|