Home
last modified time | relevance | path

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

1...<<11121314151617181920>>...35

/PHP-8.3/Zend/tests/
H A Dbug42937.phpt17 class B extends A {
23 B::test5();
31 $b = new B();
44 #0 %s(%d): B->test()
H A Dbug34678.phpt11 class B extends A {
17 if (is_callable(array('B', 'foo'))) {
18 call_user_func(array('B', 'foo'));
H A Dbug47699.phpt10 class B extends A {
12 B::test();
13 spl_autoload_register('B::test');
H A Dget_class_methods_002.phpt11 class B implements A {
17 var_dump(get_class_methods('B'));
23 new B;
H A Dlsb_017.phpt14 class B extends A {
21 echo A::test(B::test(C::test(D::test())))."\n";
26 B
H A Dbug44414.phpt8 interface B {
11 class C extends A implements B {
15 … therefore be declared abstract or implement the remaining methods (A::foo, B::bar) in %sbug44414.…
H A Dbug41633_3.phpt6 const A = Foo::B;
7 const B = Foo::A;
12 Fatal error: Uncaught Error: Cannot declare self-referencing constant Foo::B in %s:%d
H A Dbug62814.phpt10 class B extends A {
14 class C extends B {
20 Fatal error: Access level to C::test() must be protected (as in class B) or weaker in %s on line 12
H A Dclosure_038.phpt17 class B extends A {
26 $b = new B(10);
40 $cb = $ca->bindTo($b, 'B');
41 $cb2 = Closure::bind($ca, $b, 'B');
58 Fatal error: Uncaught Error: Cannot access private property B::$x in %s:%d
H A Dbug73987_3.phpt10 class B extends A {
14 class C extends B {
20 Fatal error: Declaration of C::example(): string must be compatible with B::example(): int in %s
H A Dis_callable_trampoline_uaf.phpt6 class B {}
7 class A extends B {
9 var_dump(is_callable(array('B', 'foo')));
H A DselfParent_001.phpt14 class B extends A {
15 const myConst = "const in B";
23 B::test();
H A DselfParent_002.phpt14 class B extends A {
15 const myConst = "const in B";
22 B::test();
/PHP-8.3/ext/standard/tests/strings/
H A Dhtmlentities19.phpt19 string(9) "A�&gt;B"
21 string(9) "A�&gt;B"
27 string(18) "A��B�C☺�"
29 string(18) "A��B�C☺�"
/PHP-8.3/Zend/tests/type_declarations/variance/
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-8.3/tests/classes/
H A Dmethod_override_optional_arg_002.phpt10 class B extends A {
16 $b = new B();
21 Fatal error: Declaration of B::foo() must be compatible with A::foo($arg = 1) in %s on line %d
H A Dbug75765.phpt7 class A extends B {}
10 var_dump(class_exists('B'));
19 Fatal error: Uncaught Error: Class "B" not found in %s:%d
/PHP-8.3/ext/reflection/tests/
H A Dbug75231.phpt17 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 DReflectionClass_newInstanceArgs_001.phpt9 class B {
11 echo "In constructor of class B with args $a, $b\n";
30 $rcB = new ReflectionClass('B');
68 Exception: Too few arguments to function B::__construct(), 0 passed and exactly 2 expected
69 In constructor of class B with args x, 123
70 object(B)#%d (0) {
H A DReflectionClassConstant_getValue_typed.phpt10 class B {
20 $rc = new ReflectionClassConstant(B::class, 'CONST1');
38 Cannot assign stdClass to class constant B::CONST1 of type array
39 Cannot assign stdClass to class constant B::CONST1 of type array
/PHP-8.3/Zend/tests/return_types/
H A Dnever_no_variance.phpt14 class B extends A
22 (new B)->bar();
26 Fatal error: Declaration of B::bar(): string must be compatible with A::bar(): never in %s on line …
/PHP-8.3/ext/soap/tests/bugs/
H A Dbug66112.phpt16 return array("A"=>"ABC","B"=>"sss");
26 <uri:Request><uri:A>XXX</uri:A><uri:B>yyy</uri:B></uri:Request>
35 …envelope/" xmlns:ns1="uri:mist"><SOAP-ENV:Body><ns1:Response><A>ABC</A><B>sss</B></ns1:Response></…
/PHP-8.3/ext/standard/tests/general_functions/
H A Dis_callable_abstract_method-deprecated.phpt10 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.3/Zend/tests/enum/
H A Denum-in-var-export.phpt14 namespace A\B {
21 echo var_export(\A\B\Foo::BAR, true) . "\n";
28 \A\B\Foo::BAR
/PHP-8.3/Zend/tests/traits/
H A Dlanguage009.phpt13 trait B {
26 use C, A, B {
27 B::foo insteadof A, C;

Completed in 22 milliseconds

1...<<11121314151617181920>>...35