Home
last modified time | relevance | path

Searched refs:B (Results 251 – 275 of 988) sorted by relevance

1...<<11121314151617181920>>...40

/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dobject_and_dnf_type.phpt7 interface B {}
9 function test(): (A&B)|object {}
14 Fatal error: Type (A&B)|object contains both object and a class type, which is redundant in %s on l…
H A Dobject_and_dnf_type2.phpt7 interface B {}
9 function test(): object|(A&B) {}
14 Fatal error: Type (A&B)|object contains both object and a class type, which is redundant in %s on l…
H A Dless_restrive_type_constraint_already_present001.phpt7 interface B {}
9 function test(): (A&B)|A {}
14 Fatal error: Type A&B is redundant as it is more restrictive than type A in %s on line %d
H A Dless_restrive_type_constraint_already_present002.phpt7 interface B {}
9 function test(): A|(A&B) {}
14 Fatal error: Type A&B is redundant as it is more restrictive than type A in %s on line %d
/php-src/Zend/tests/
H A Dbug48770.phpt12 class B extends A {
14 echo "B::func called\n";
22 class C extends B {
35 B::func called
H A Dgh10709_3.phpt20 class B {
26 var_dump(new B());
29 var_dump(new B());
33 object(B)#3 (1) {
H A Dgh7792_3.phpt10 interface B {
14 enum Foo implements A, B {}
18 Fatal error: Enum Foo inherits both A::FOO and B::FOO, which is ambiguous in %s on line %d
H A Dns_039.phpt8 function bar($a = array(A => B)) {
15 const B = A;
17 echo B . "\n";
H A Dbug69676.phpt10 class B extends A {
11 const myConst = "const in B";
14 var_dump(B::myDynConst);
H A Dctor_promotion_untyped_default.phpt13 class B extends A {
20 var_dump(new B);
24 object(B)#1 (1) {
H A Dbug42937.phpt17 class B extends A {
23 B::test5();
31 $b = new B();
44 #0 %s(%d): B->test()
/php-src/Zend/tests/return_types/
H A Dinheritance006.phpt16 public static function test() : B {
17 return new B;
25 B
/php-src/Zend/tests/traits/
H A Dbug55137.phpt12 class B {
19 B::foo();
20 B::baz();
/php-src/Zend/tests/closures/
H A Dclosure_from_callable_rebinding.phpt12 class B {
16 $fn->call(new B);
20 Warning: Cannot bind method A::method() to object of class B in %s on line %d
/php-src/Zend/tests/type_declarations/
H A Dstatic_type_return.phpt21 class B extends A {
27 class C extends B {}
30 $b = new B;
73 object(B)#%d (0) {
78 A::test2(): Return value must be of type B, A returned
87 A::test4(): Return value must be of type B|array, A returned
H A Dtyped_class_constants_inheritance_error6.phpt10 class B implements A {
11 public const CONST1 = 'B';
16 Fatal error: Type of B::CONST1 must be compatible with A::CONST1 of type string in %s on line %d
/php-src/ext/xml/tests/
H A Dxml_set_object_multiple_times.phpt23 class B {
25 echo "B::start_element($name)\n";
28 echo "B::end_element($name)\n";
31 echo "B::PIHandler($target)\n";
36 $b = new B;
58 B::start_element(CHILD)
/php-src/ext/standard/tests/array/
H A Dbug26458.phpt12 ["A%0B"]=>
16 'A' . "\0" . 'B' => 'Hello world',
18 ["A%0B"]=>
H A Darray_splice_variation3.phpt104 string(1) "B"
149 string(1) "B"
194 string(1) "B"
235 string(1) "B"
276 string(1) "B"
311 string(1) "B"
350 string(1) "B"
395 string(1) "B"
428 string(1) "B"
473 string(1) "B"
[all …]
/php-src/Zend/tests/type_declarations/variance/
H A Dstatic_variance_failure.phpt9 class B extends A {
15 Fatal error: Declaration of B::test(): B must be compatible with A::test(): static in %s on line %d
H A Dclass_order_autoload_error6.phpt12 } else if ($class == 'B') {
13 class B extends A {
16 var_dump(new B);
30 var_dump(new B);
/php-src/Zend/tests/prop_const_expr/
H A Drhs_object.phpt7 class B {}
9 const A_prop = (new A)->{new B};
15 Fatal error: Uncaught Error: Object of class B could not be converted to string in %s:%d
H A Drhs_object_nullsafe.phpt7 class B {}
9 const A_prop = (new A)?->{new B};
15 Fatal error: Uncaught Error: Object of class B could not be converted to string in %s:%d
H A Drhs_prop_not_found.phpt7 case B;
10 const A_prop = A::B->prop;
13 const A_prop_nullsafe = A::B?->prop;
/php-src/ext/spl/tests/
H A Diterator_013.phpt17 $it->append(new ArrayIterator(array(0 => 'A', 1 => 'B')));
52 1=>B
55 1=>B
61 1=>B

Completed in 28 milliseconds

1...<<11121314151617181920>>...40