/php-src/Zend/tests/ |
H A D | bug30828.phpt | 5 class A { 31 class B extends A { 50 #0 %sbug30828.php(30): A->__construct() 52 A->__construct 54 #0 %sbug30828.php(34): A->foo() 56 A->foo 58 #0 %sbug30828.php(38): A::bar() 60 A::bar
|
H A D | lsb_023.phpt | 6 class A { 11 private static function value() { return 'A'; } 13 class B extends A { 16 class C extends A { 19 A::out(); 25 A
|
H A D | closure_044.phpt | 5 /* A non-static closure has a bound instance if it has a scope 8 $nonstaticUnscoped = function () { var_dump(isset(A::$priv)); var_dump(isset($this)); }; 10 class A { 13 return function() { var_dump(isset(A::$priv)); var_dump(isset($this)); }; 17 $a = new A(); 29 $d = $nonstaticUnscoped->bindTo(new A, null); $d(); echo "\n"; 30 $d = $nonstaticScoped->bindTo(new A, null); $d(); echo "\n"; 33 $d = $nonstaticUnscoped->bindTo(null, 'A'); $d(); echo "\n"; 34 $d = $nonstaticScoped->bindTo(null, 'A'); var_dump($d); echo "\n"; 37 $d = $nonstaticUnscoped->bindTo(new A, 'A'); $d(); echo "\n"; [all …]
|
H A D | gh10709_2.phpt | 7 public $prop = A::C; 11 class A { const C = "A"; } 25 string(1) "A" 29 string(1) "A"
|
H A D | ns_039.phpt | 5 function foo($a = A) { 8 function bar($a = array(A => B)) { 14 const A = "ok"; 15 const B = A; 16 echo A . "\n";
|
/php-src/Zend/tests/return_types/ |
H A D | inheritance001.phpt | 6 class A { 7 function foo(): A {} 10 class B extends A { 15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
|
H A D | inheritance003.phpt | 6 interface A { 7 function foo(): A; 10 class B implements A { 15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
|
H A D | inheritance002.phpt | 6 abstract class A { 7 abstract function foo(): A; 10 class B extends A { 15 Fatal error: Declaration of B::foo(): stdClass must be compatible with A::foo(): A in %s on line %d
|
/php-src/Zend/tests/property_hooks/ |
H A D | private_override.phpt | 6 class A { 21 class B extends A { 32 $a = new A; 47 A::$prop2::get 48 A::$prop2::set 50 A::$prop2::get 51 A::$prop2::set
|
H A D | abstract_prop_not_implemented.phpt | 6 class A { 10 class B extends A {} 14 …l error: Class A contains 2 abstract methods and must therefore be declared abstract or implement …
|
/php-src/ext/reflection/tests/ |
H A D | ReflectionClass_export_array_bug72222.phpt | 5 Class A { 6 const A = 8; 9 echo new ReflectionClass("A"), "\n"; 12 Class [ <user> class A ] { 16 Constant [ public int A ] { 8 }
|
H A D | ReflectionObject_isInstance_basic.phpt | 5 class A {} 6 class B extends A {} 9 $classes = array("A", "B", "X"); 11 $instances = array( "myA" => new A, 25 is myA a A? bool(true) 26 is myB a A? bool(true) 27 is myX a A? bool(false)
|
H A D | bug53915.phpt | 7 const A = 1; 8 const B = self::A; 16 const A = 1; 17 const B = self::A; 26 [A] => 1
|
H A D | ReflectionClass_export_basic1.phpt | 5 Class A { 7 public function pubf(A $a, 17 Class C extends A { } 23 Deprecated: A::pubf(): Implicitly marking parameter $h as nullable is deprecated, the explicit null… 24 Class [ <user> class C extends A ] { 40 Method [ <user, inherits A> public method privf ] { 48 Method [ <user, inherits A> public method pubf ] { 52 Parameter #0 [ <required> A $a ]
|
H A D | ReflectionClass_getProperty_003.phpt | 8 class A { 18 class B extends A { 71 showInfo("A::pubC"); 72 showInfo("A::protC"); 73 showInfo("A::privC"); 99 string(1) "A" 101 string(9) "pubA in A" 107 string(1) "A" 161 string(1) "A" 169 string(1) "A" [all …]
|
/php-src/ext/standard/tests/general_functions/ |
H A D | bug52138.data | 8 A=1 9 B=A "A" A
|
/php-src/ext/reflection/tests/property_hooks/ |
H A D | bug_001.phpt | 6 class A { 10 $a = new A(); 11 $b = new A(); 20 Deprecated: Creation of dynamic property A::$dyn is deprecated in %s on line %d 22 Warning: Undefined property: A::$dyn in %s on line %d 25 Deprecated: Creation of dynamic property A::$dyn is deprecated in %s on line %d
|
/php-src/Zend/tests/traits/ |
H A D | static_forward_static_call.phpt | 10 return 'Forwarded '.forward_static_call(array('A', 'test')); 14 class A { 16 return "Test A"; 20 class B extends A { 28 Forwarded Test A
|
/php-src/ext/hash/sha3/generic64lc/ |
H A D | KeccakP-1600-64.macros | 52 A##ba ^= Da; \ 53 Bba = A##ba; \ 54 A##ge ^= De; \ 56 A##ki ^= Di; \ 58 A##mo ^= Do; \ 60 A##su ^= Du; \ 74 A##bo ^= Do; \ 76 A##gu ^= Du; \ 78 A##ka ^= Da; \ 80 A##me ^= De; \ [all …]
|
/php-src/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | invalid2.phpt | 6 interface A {} 9 class Test implements A, B {} 12 public function foo(): A&B { 17 /* This fails because just A larger than A&B */ 26 Fatal error: Declaration of FooChild::foo(): array must be compatible with Foo::foo(): A&B in %s on…
|
/php-src/ext/spl/tests/ |
H A D | regexiterator_getregex.phpt | 20 $regexIterator = new RegexIterator($iterator, '|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|'); 29 string(43) "|\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b|"
|
/php-src/Zend/tests/prop_const_expr/ |
H A D | rhs_prop_not_found.phpt | 6 enum A { 10 const A_prop = A::B->prop; 13 const A_prop_nullsafe = A::B?->prop; 18 Warning: Undefined property: A::$prop in %s on line %d 21 Warning: Undefined property: A::$prop in %s on line %d
|
/php-src/Zend/tests/numeric_strings/ |
H A D | invalid_numeric_strings_must_generate_warning.phpt | 116 Warning: A non-numeric value encountered in %s on line %d 118 Warning: A non-numeric value encountered in %s on line %d 123 Warning: A non-numeric value encountered in %s on line %d 125 Warning: A non-numeric value encountered in %s on line %d 130 Warning: A non-numeric value encountered in %s on line %d 132 Warning: A non-numeric value encountered in %s on line %d 137 Warning: A non-numeric value encountered in %s on line %d 139 Warning: A non-numeric value encountered in %s on line %d 144 Warning: A non-numeric value encountered in %s on line %d 146 Warning: A non-numeric value encountered in %s on line %d [all …]
|
/php-src/tests/classes/ |
H A D | constants_visibility_002.phpt | 5 class A { 15 A::staticConstDump(); 16 (new A())->constDump(); 18 constant('A::protectedConst'); 27 Cannot access protected constant A::protectedConst
|
H A D | constants_visibility_003.phpt | 5 class A { 15 A::staticConstDump(); 16 (new A())->constDump(); 18 constant('A::privateConst'); 27 Cannot access private constant A::privateConst
|