Home
last modified time | relevance | path

Searched refs:A (Results 251 – 275 of 1588) sorted by relevance

1...<<11121314151617181920>>...64

/PHP-8.2/Zend/tests/
H A Duse_unlinked_class.phpt7 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')
H A Dns_061.phpt5 class A {}
6 use \A as B;
10 A
H A Dget_class_vars_006.phpt6 class A {
10 class B extends A { }
14 var_dump(get_class_vars('A'));
22 var_dump(get_class_vars('A'));
H A Dgh14009_004.phpt6 class A {
12 class B extends A {
13 // Prototype is A::test().
27 class D extends A {
H A Dbug73156.phpt5 class A {
11 $a = new A();
35 string(1) "A"
37 object(A)#%d (0) {
H A Dbug75079_2.phpt24 class A{}
25 $a = new A;
26 var_dump($f->bindTo($a, A::CLASS)()());
34 #0 %s(%d): A->{closure}()
H A Dns_034.phpt5 namespace A;
6 use A as B;
16 function f3($x=\A\Foo::C) {
21 echo \A\Foo::C;
H A Dbug32660.phpt5 class A
20 $a = new A;
31 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o…
32 A Object
37 Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php o…
/PHP-8.2/Zend/tests/readonly_props/
H A Dvisibility_change.phpt6 class A {
13 class B extends A {
17 $a = new A();
29 Cannot access protected property A::$prop
/PHP-8.2/ext/spl/tests/
H A Dbug71202.phpt7 if ($name == 'A') {
8 class A {
23 if ($name == 'A') {
30 $c = new A();
/PHP-8.2/Zend/tests/prop_const_expr/
H A Dnon_enums_cost.phpt6 class A {
10 const A = new A();
11 const A_prop = A->prop;
/PHP-8.2/Zend/tests/type_declarations/
H A Dtyped_properties_115.phpt5 class A implements IteratorAggregate {
15 $obj = new A;
26 Cannot acquire reference to readonly property A::$foo
27 object(A)#1 (1) {
/PHP-8.2/ext/opcache/tests/jit/
H A Dmethod_call_001.phpt13 return A::$o;
15 class A {
31 A::$o = new B;
32 A::loop();
/PHP-8.2/ext/standard/tests/class_object/
H A Dforward_static_call_003.phpt6 class A
8 const NAME = 'A';
14 class B extends A
34 A::test();
42 A
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dclass_order_autoload_error3.phpt7 if ($class == 'A') {
8 class A {
12 class B extends A {
29 public function method(): A {}
38 Fatal error: Declaration of R::method(): A must be compatible with Q::method(): B in %s on line %d
H A Dclass_order_autoload_error6.phpt7 if ($class == 'A') {
8 class A {
11 var_dump(new A);
13 class B extends A {
34 object(A)#2 (0) {
H A Dclass_order_autoload_error1.phpt7 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
H A Dclass_order_autoload_error7.phpt7 if ($class == 'A') {
8 class A {
12 class B extends A {
24 Fatal error: Could not check compatibility between B::m(): X and A::m(): B, because class X is not …
/PHP-8.2/ext/simplexml/tests/
H A Dbug62639.phpt8 class A extends SimpleXMLElement
23 $a1 = new A($xml1);
38 $a2 = new A($xml2);
44 object(A)#2 (2) {
53 object(A)#3 (2) {
/PHP-8.2/ext/standard/tests/serialize/
H A Dserialization_objects_018.phpt5 class A implements Serializable {
12 var_dump(unserialize('C:1:"A":3x{foo}'));
14 var_dump(unserialize('C:1:"A":3:xfoo}'));
16 var_dump(unserialize('C:1:"A":3:{foox'));
18 var_dump(unserialize('C:1:"A":'));
/PHP-8.2/Zend/tests/type_declarations/intersection_types/redundant_types/
H A Dinheritence.phpt6 class A {}
7 class B extends A {}
9 function test(): A&B {
H A Dduplicate_class_alias_type_runtime.phpt6 class A {}
8 class_alias('A', 'B');
9 function foo(): A&B {}
/PHP-8.2/ext/reflection/tests/
H A DReflectionClass_getNamespaceName.phpt5 namespace A\B;
15 $function = new \ReflectionClass('A\\B\\Foo');
27 string(7) "A\B\Foo"
28 string(3) "A\B"
H A DReflectionFunction_getNamespaceName.phpt5 namespace A\B;
14 $function = new \ReflectionFunction('A\\B\\foo');
26 string(7) "A\B\foo"
27 string(3) "A\B"
/PHP-8.2/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dinheritence.phpt7 class A {}
8 class B extends A {}
10 function test(): (A&X)|(B&X) {}

Completed in 22 milliseconds

1...<<11121314151617181920>>...64