Home
last modified time | relevance | path

Searched refs:A (Results 76 – 100 of 1852) sorted by relevance

12345678910>>...75

/php-src/Zend/tests/traits/
H A Dconstant_002.phpt7 public const A = 42;
11 public const A = 42;
16 public const A = 42;
32 public const A = 42;
35 echo ComposingClass1::A, PHP_EOL;
36 echo ComposingClass2::A, PHP_EOL;
37 echo ComposingClass3::A, PHP_EOL;
/php-src/ext/reflection/tests/
H A D005.phpt14 /** Comment for class A */
15 class A
17 /** Method A::bla()
34 * Comment for A::baz()
40 $r = new ReflectionClass('A');
50 string(19) "Comment for class A"
51 string(15) "Method A::bla()"
54 string(22) "* Comment for A::baz()"
H A DReflectionClass_implementsInterface_001.phpt9 class A implements I1 {}
10 class B extends A {}
69 Does A implement A?
72 Does A implement B?
75 Does A implement C?
78 Does A implement I1?
81 Does A implement I2?
84 Does B implement A?
99 Does C implement A?
114 Does I1 implement A?
[all …]
H A Dgh9470.phpt6 class A
12 class B extends A {}
25 Method [ <user, inherits A> public method publicMethod ] {
28 Method [ <user, inherits A> protected method protectedMethod ] {
31 Method [ <user, inherits A> private method privateMethod ] {
34 Method [ <user, inherits A> public method publicMethod ] {
37 Method [ <user, inherits A> protected method protectedMethod ] {
40 Method [ <user, inherits A> private method privateMethod ] {
/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dless_restrive_type_constraint_already_present003.phpt2 A less restrictive type constrain is part of the DNF type 003
6 interface A {}
10 function test(): (A&B)|(A&B&C) {}
15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
H A Dless_restrive_type_constraint_already_present004.phpt2 A less restrictive type constrain is part of the DNF type 004
6 interface A {}
10 function test(): (A&B&C)|(A&B) {}
15 Fatal error: Type A&B&C is redundant as it is more restrictive than type A&B in %s on line %d
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_039.phpt6 class A {
11 public A $foo;
14 $objs = [new A, new A];
19 $v = new A;
28 Fatal error: Uncaught TypeError: Cannot assign A to property A::$foo of type int in %s:%d
H A Dtyped_properties_076.phpt6 class A {}
7 class B extends A {}
18 public A $A;
56 valid($test, 'A', 'A', new A);
57 valid($test, 'A', 'B', new B);
58 invalid($test, 'A', 'B', new A);
60 valid($test, 'A', 'object', new A);
61 invalid($test, 'A', 'object', new Test);
/php-src/Zend/tests/
H A Dbug69676_2.phpt7 const A = 'Foo::A';
8 const B = self::A . ' and ' . self::C;
14 const A = 'Bar::A';
22 string(17) "Foo::A and Foo::C"
H A Dlsb_017.phpt5 class A {
14 class B extends A {
16 class C extends A {
18 class D extends A {
21 echo A::test(B::test(C::test(D::test())))."\n";
27 A
H A Dbug38220.phpt17 class A {
40 echo "A::__destruct()\n";
55 $obj1 = new A(1);
58 $obj2 = new A(2);
64 A Object
70 A::__destruct()
72 A Object
79 A Object
85 A::__destruct()
87 A Object
H A Daccess_modifiers_009.phpt6 class A {
8 return 'A::ma()';
12 return 'A::mp()';
16 class B1 extends A {
30 class B2 extends A {
32 var_dump(is_callable('A::ma'));
33 var_dump(is_callable('A::mp'));
34 var_dump(is_callable('B1::ma')); // protected method defined also in A
35 var_dump(is_callable('B1::mp')); // protected method defined also in A but as private
H A Dbug66719.phpt6 class A
13 class B extends A
25 call_user_func(array(A::class, 'who'));
31 call_user_func(array(A::class, 'who'));
39 string(1) "A"
42 string(1) "A"
44 string(1) "A"
47 string(1) "A"
/php-src/tests/classes/
H A Dinheritance_007.phpt5 class A {
21 class B extends A {
33 $a = new A();
44 A::normalPrivate
45 A::finalPrivate
46 A::normalPrivate
47 A::finalPrivate
50 A::normalPrivate
51 A::finalPrivate
H A Dproperty_override_private_private.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
H A Dproperty_override_private_public.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
H A Dproperty_override_private_protected.phpt5 class A
7 private $p = "A::p";
14 class B extends A
24 $a = new A;
32 A::p
33 A::p
H A D__call_005.phpt5 class A {
12 class B extends A {
14 A::test1(1,'a');
25 Warning: The magic method A::__call() must have public visibility in %s__call_005.php on line 3
26 In A::__call(test1, array(1,a))
29 In A::__call(test2, array(1,a))
32 In A::__call(test3, array(1,a))
35 In A::__call(test4, array(1,a))
H A Dproperty_override_privateStatic_private.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
31 A::p (static)
32 A::p (static)
H A Dproperty_override_privateStatic_privateStatic.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
30 A::p (static)
31 A::p (static)
H A Dproperty_override_privateStatic_public.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
31 A::p (static)
32 A::p (static)
H A Dproperty_override_privateStatic_publicStatic.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
30 A::p (static)
31 A::p (static)
H A Dproperty_override_protectedStatic_publicStatic.phpt5 class A
7 protected static $p = "A::p (static)";
14 class B extends A
24 A::showA();
30 A::p (static)
31 A::p (static)
H A Dproperty_override_privateStatic_protected.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
31 A::p (static)
32 A::p (static)
H A Dproperty_override_privateStatic_protectedStatic.phpt5 class A
7 private static $p = "A::p (static)";
14 class B extends A
24 A::showA();
30 A::p (static)
31 A::p (static)

Completed in 23 milliseconds

12345678910>>...75