/PHP-7.4/Zend/tests/ |
H A D | list_keyed_evaluation_order.phpt | 8 $a = new Stringable("A"); 11 $e = new IndexableRetrievable("E", new Indexable(["A" => "value for offset A", "C" => "value for of… 30 A evaluated. 31 Offset A retrieved. 32 Offset B set to value for offset A.
|
H A D | closure_059.phpt | 5 class A { 11 $a = new A; 14 $f = function (A $a){}; 36 Exception: Argument 1 passed to {closure}() must be an instance of A, instance of B %s 37 Exception: Argument 1 passed to {closure}() must be an instance of A, instance of B %s 38 Exception: Argument 1 passed to {closure}() must be an instance of A, instance of B %s
|
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; 18 Foo\Bar\A::__construct
|
H A D | ns_061.phpt | 5 class A {} 6 use \A as B; 9 A
|
/PHP-7.4/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 A does not exist 90 --> Check for A: Property A does not exist 105 --> Check for A: Property A does not exist 120 --> Check for A: Property A does not exist 135 --> Check for A: Property A does not exist 145 --> Check for A: Property A does not exist
|
H A D | ReflectionClass_getStaticPropertyValue_001.phpt | 8 class A { 14 class B extends A { 20 echo "Retrieving static values from A:\n"; 21 $rcA = new ReflectionClass('A'); 34 echo "\nRetrieving non-existent values from A with no default value:\n"; 51 Retrieving static values from A: 63 Retrieving non-existent values from A with no default value: 64 Class A does not have a property named protectedDoesNotExist 65 Class A does not have a property named privateDoesNotExist
|
H A D | ReflectionClass_toString_003.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> private method f ] {
|
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
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | sprintf_variation37.phpt | 63 string(10) "0-9A-Fa-f]" 78 string(10) "0-9A-Fa-f]" 93 string(10) "0-9A-Fa-f]" 108 string(10) "0-9A-Fa-f]" 123 string(10) "0-9A-Fa-f]" 138 string(10) "0-9A-Fa-f]" 153 string(10) "0-9A-Fa-f]" 168 string(10) "0-9A-Fa-f]" 183 string(10) "0-9A-Fa-f]" 198 string(10) "0-9A-Fa-f]" [all …]
|
H A D | sprintf_variation34_64bit.phpt | 71 string(10) "0-9A-Fa-f]" 86 string(10) "0-9A-Fa-f]" 101 string(10) "0-9A-Fa-f]" 116 string(10) "0-9A-Fa-f]" 131 string(10) "0-9A-Fa-f]" 146 string(10) "0-9A-Fa-f]" 161 string(10) "0-9A-Fa-f]" 176 string(10) "0-9A-Fa-f]" 191 string(10) "0-9A-Fa-f]" 206 string(10) "0-9A-Fa-f]" [all …]
|
/PHP-7.4/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-7.4/ext/soap/tests/bugs/ |
H A D | bug66112.phpt | 11 …$client=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-7.4/ext/standard/tests/general_functions/ |
H A D | phpinfo.phpt | 36 Thread Safety => %s%A 52 %A 54 %A 56 %A 58 %A 60 %A 62 %A
|
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')); 89 A 92 A|who 93 A 97 A
|
/PHP-7.4/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 {} 46 object(A)#2 (0) {
|
/PHP-7.4/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 { 26 object(A)#%d (0) {
|
/PHP-7.4/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 Warning: Declaration of C::foo() should be compatible with A::foo($arg1 = 1) in %s on line %d
|
/PHP-7.4/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-7.4/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-7.4/ext/spl/tests/ |
H A D | bug71202.phpt | 7 if ($name == 'A') { 8 class A { 23 if ($name == 'A') { 30 $c = new A();
|
/PHP-7.4/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 …]
|