/php-src/Zend/tests/first_class_callable/ |
H A D | first_class_callable_010.phpt | 5 class Foo { 7 return static::class; 11 class Bar extends Foo {}
|
/php-src/ext/reflection/tests/ |
H A D | 002.phpt | 7 class ReflectionMethodEx extends ReflectionMethod 20 var_dump($r->class); 27 $r->class = 'bullshit'; 45 var_dump($r->class); 57 Cannot set read-only property ReflectionMethodEx::$class
|
H A D | gh12908.phpt | 2 GH-12908 (Show attribute name/class in ReflectionAttribute dump) 7 class Test { 10 print_r((new ReflectionClass(Test::class))->getAttributes());
|
/php-src/Zend/tests/traits/ |
H A D | property008.phpt | 6 class BaseWithPropA { 11 class SubclassClassicInheritance extends BaseWithPropA { 21 class BaseWithTPropB { 25 class SubclassA extends BaseWithPropA { 29 class SubclassB extends BaseWithTPropB {
|
H A D | property009.phpt | 6 class BaseWithPropA { 11 class SubclassClassicInheritance extends BaseWithPropA { 21 class BaseWithTPropB { 25 class SubclassA extends BaseWithPropA { 29 class SubclassB extends BaseWithTPropB {
|
H A D | direct_static_member_access.phpt | 16 class C { 39 …tic trait property T::$foo is deprecated, it should only be accessed on a class using the trait in… 41 …tic trait property T::$foo is deprecated, it should only be accessed on a class using the trait in… 44 Deprecated: Calling static trait method T::foo is deprecated, it should only be called on a class u… 47 Deprecated: Calling static trait method T::bar is deprecated, it should only be called on a class u… 51 …tic trait property T::$foo is deprecated, it should only be accessed on a class using the trait in… 53 …tic trait property T::$foo is deprecated, it should only be accessed on a class using the trait in… 56 Deprecated: Calling static trait method T::foo is deprecated, it should only be called on a class u… 59 Deprecated: Calling static trait method T::bar is deprecated, it should only be called on a class u…
|
H A D | constant_002.phpt | 2 Defining a constant in both trait and its composing class with the same name, visibility, finality … 19 class ComposingClass1 { 24 class ComposingClass2 { 29 class ComposingClass3 {
|
H A D | get_declared_traits_002.phpt | 7 class a { } 10 abstract class d { } 11 final class e { }
|
/php-src/ext/date/tests/ |
H A D | DateTimeZone_compare.phpt | 5 class MyDateTimeZone extends DateTimeZone 21 echo $e::class, ': ', $e->getMessage(), "\n"; 27 echo $e::class, ': ', $e->getMessage(), "\n"; 33 echo $e::class, ': ', $e->getMessage(), "\n"; 39 echo $e::class, ': ', $e->getMessage(), "\n";
|
/php-src/Zend/tests/ |
H A D | bug65419.phpt | 2 Bug #65419 (Inside trait, self::class != __CLASS__) 9 echo self::class, "\n"; 14 class ghi
|
H A D | class_on_constant_evaluated_expression.phpt | 2 An error should be generated when using ::class on a constant evaluated expression 6 (1+1)::class; 10 Fatal error: Cannot use "::class" on int in %s on line %d
|
H A D | name_collision_02.phpt | 2 Object naming collision error: class/interface 6 class A { } 11 Fatal error: Cannot redeclare class A (previously declared in %s:%d) in %s on line %d
|
H A D | name_collision_03.phpt | 2 Object naming collision error: class/trait 6 class A { } 11 Fatal error: Cannot redeclare class A (previously declared in %s:%d) in %s on line %d
|
H A D | bug64720.phpt | 5 class Stat { 19 class Foo { 25 class ErrorTest { 32 class Bar {
|
H A D | bug43703.phpt | 5 class JoinPoint 9 abstract class Pointcut 14 class Read extends Pointcut
|
/php-src/Zend/tests/type_declarations/ |
H A D | typed_class_constants_inheritance_success3.phpt | 2 Typed class constants (inheritance; private constants) 5 class A { 9 class B extends A {
|
/php-src/ext/posix/tests/ |
H A D | posix_ttyname_manual_zpp.phpt | 9 class classWithToString { 27 'class' => new stdClass(), 28 'stringable class' => new classWithToString(), 29 'int castable class' => gmp_init(1), 59 class: 62 Warning: Object of class stdClass could not be converted to int in %s on line %d 64 stringable class: 67 Warning: Object of class classWithToString could not be converted to int in %s on line %d 69 int castable class:
|
/php-src/Zend/tests/object_types/ |
H A D | return_type_inheritance_in_class.phpt | 2 Adding class method a object return type during inheritance is allowed 6 class One { 10 class Two extends One { 14 $three = new class extends Two {
|
/php-src/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid3.phpt | 10 class TestParent implements X, Y, Z {} 11 class TestChild implements Z {} 13 class A { 19 class B extends A {
|
H A D | valid1.phpt | 10 class Test implements A, B, C {} 12 class Foo { 18 class FooChild extends Foo { 24 class FooSecondChild extends FooChild {
|
/php-src/Zend/tests/parameter_default_values/ |
H A D | userland_declaration_error_class_const.phpt | 2 The default value is a class constant in the parent class method's signature. 8 class A 18 class B extends A
|
/php-src/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | valid1.phpt | 10 class Test implements A, B, C {} 12 class Foo { 18 class FooChild extends Foo { 24 class FooSecondChild extends FooChild {
|
/php-src/tests/classes/ |
H A D | abstract_by_interface_002.phpt | 6 class Root { 14 abstract class Derived extends Root implements MyInterface { 17 class Leaf extends Derived 24 class Fails extends Root implements MyInterface {
|
H A D | constants_error_001.phpt | 2 Error case: duplicate class constant definition 5 class myclass 12 Fatal error: Cannot redefine class constant myclass::myConst in %s on line 5
|
/php-src/Zend/tests/access_modifiers/ |
H A D | access_modifiers_010.phpt | 6 class d { 12 abstract class a extends d { 18 abstract class b extends a { 21 class c extends b {
|