Home
last modified time | relevance | path

Searched refs:class (Results 426 – 450 of 5459) sorted by relevance

1...<<11121314151617181920>>...219

/php-src/Zend/tests/first_class_callable/
H A Dfirst_class_callable_010.phpt5 class Foo {
7 return static::class;
11 class Bar extends Foo {}
/php-src/ext/reflection/tests/
H A D002.phpt7 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 Dgh12908.phpt2 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 Dproperty008.phpt6 class BaseWithPropA {
11 class SubclassClassicInheritance extends BaseWithPropA {
21 class BaseWithTPropB {
25 class SubclassA extends BaseWithPropA {
29 class SubclassB extends BaseWithTPropB {
H A Dproperty009.phpt6 class BaseWithPropA {
11 class SubclassClassicInheritance extends BaseWithPropA {
21 class BaseWithTPropB {
25 class SubclassA extends BaseWithPropA {
29 class SubclassB extends BaseWithTPropB {
H A Ddirect_static_member_access.phpt16 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 Dconstant_002.phpt2 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 Dget_declared_traits_002.phpt7 class a { }
10 abstract class d { }
11 final class e { }
/php-src/ext/date/tests/
H A DDateTimeZone_compare.phpt5 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 Dbug65419.phpt2 Bug #65419 (Inside trait, self::class != __CLASS__)
9 echo self::class, "\n";
14 class ghi
H A Dclass_on_constant_evaluated_expression.phpt2 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 Dname_collision_02.phpt2 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 Dname_collision_03.phpt2 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 Dbug64720.phpt5 class Stat {
19 class Foo {
25 class ErrorTest {
32 class Bar {
H A Dbug43703.phpt5 class JoinPoint
9 abstract class Pointcut
14 class Read extends Pointcut
/php-src/Zend/tests/type_declarations/
H A Dtyped_class_constants_inheritance_success3.phpt2 Typed class constants (inheritance; private constants)
5 class A {
9 class B extends A {
/php-src/ext/posix/tests/
H A Dposix_ttyname_manual_zpp.phpt9 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 Dreturn_type_inheritance_in_class.phpt2 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 Dvalid3.phpt10 class TestParent implements X, Y, Z {}
11 class TestChild implements Z {}
13 class A {
19 class B extends A {
H A Dvalid1.phpt10 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 Duserland_declaration_error_class_const.phpt2 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 Dvalid1.phpt10 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 Dabstract_by_interface_002.phpt6 class Root {
14 abstract class Derived extends Root implements MyInterface {
17 class Leaf extends Derived
24 class Fails extends Root implements MyInterface {
H A Dconstants_error_001.phpt2 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 Daccess_modifiers_010.phpt6 class d {
12 abstract class a extends d {
18 abstract class b extends a {
21 class c extends b {

Completed in 39 milliseconds

1...<<11121314151617181920>>...219