/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionClass_getProperty_003.phpt | 8 class A { 18 class B extends A { 75 showInfo("A::pubC"); 76 showInfo("A::protC"); 77 showInfo("A::privC"); 103 string(1) "A" 105 string(9) "pubA in A" 111 string(1) "A" 165 string(1) "A" 173 string(1) "A" [all …]
|
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");
|
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 | 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
|
/PHP-8.0/ext/intl/tests/ |
H A D | formatter_get_set_symbol2.phpt | 94 A number formatted with the new symbol: 12,345_._123 99 A number formatted with the new symbol: 12_,_345.123 104 A number formatted with the new symbol: 12,345.123 114 A number formatted with the new symbol: 12,345.123 119 A number formatted with the new symbol: 12,345.123 139 A number formatted with the new symbol: $12,345.12 154 A number formatted with the new symbol: 12,345.123 159 A number formatted with the new symbol: 12,345.123 164 A number formatted with the new symbol: 12,345.123 169 A number formatted with the new symbol: 12,345.123 [all …]
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | bug26458.phpt | 1 --TEST-- 2 Bug #26458 (var_dump(), var_export() & debug_zval_dump() are not binary safe for array keys) 3 --FILE-- 4 <?php 5 $test = array("A\x00B" => "Hello world"); 6 var_dump($test); 7 var_export($test); 8 debug_zval_dump($test); 9 ?> 10 --EXPECTF-- [all …]
|
/PHP-8.0/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_061.phpt | 5 class A {} 6 use \A as B; 10 A
|
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 | use_unlinked_class.phpt | 7 echo new ReflectionClass(A::class), "\n"; 10 class A implements I { 15 Fatal error: Uncaught ReflectionException: Class "A" does not exist in %s:%d 17 #0 %s(%d): ReflectionClass->__construct('A')
|
/PHP-8.0/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.0/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.0/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.0/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')
|
H A D | class_order_autoload_error1.phpt | 7 if ($class === 'A') { 8 class A { 12 class B extends A { 25 Fatal error: Declaration of B::method(): B must be compatible with A::method(): C in %s on line %d
|
/PHP-8.0/Zend/tests/numeric_strings/ |
H A D | invalid_numeric_string_must_generate_warning_assign.phpt | 163 Warning: A non-numeric value encountered in %s on line %d 165 Warning: A non-numeric value encountered in %s on line %d 170 Warning: A non-numeric value encountered in %s on line %d 172 Warning: A non-numeric value encountered in %s on line %d 177 Warning: A non-numeric value encountered in %s on line %d 179 Warning: A non-numeric value encountered in %s on line %d 184 Warning: A non-numeric value encountered in %s on line %d 186 Warning: A non-numeric value encountered in %s on line %d 191 Warning: A non-numeric value encountered in %s on line %d 193 Warning: A non-numeric value encountered in %s on line %d [all …]
|
/PHP-8.0/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.0/tests/classes/ |
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.0/ext/pdo_sqlite/tests/ |
H A D | bug46542.phpt | 9 class A extends PDO 12 $a = new A('sqlite:' . __DIR__ . '/dummy.db'); 23 A::truc 24 A::TRUC
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug71202.phpt | 7 if ($name == 'A') { 8 class A { 23 if ($name == 'A') { 30 $c = new A();
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | callbacks_001.phpt | 5 class A { 7 echo "A\n"; 10 echo "A\n"; 14 class B extends A { 30 $this->call(array('A', 'who')); 92 A 95 A|who 96 A 100 A
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | method_call_001.phpt | 13 return A::$o; 15 class A { 31 A::$o = new B; 32 A::loop();
|