Home
last modified time | relevance | path

Searched refs:class (Results 151 – 175 of 3494) sorted by relevance

12345678910>>...140

/PHP-7.4/Zend/tests/type_declarations/
H A Dtyped_properties_084.phpt2 Typed properties and class aliases
6 class Foo {}
11 class A {
17 class B extends A {
/PHP-7.4/ext/standard/tests/serialize/
H A Dbug49649.phpt7 *class Foo
20 * The class above represents the serialized, base64_encoded string below.
24 class Foo
33 $class = unserialize(base64_decode($serialized));
34 var_dump($class);
H A Dbug49649_1.phpt7 *class Foo
20 * The class above represents the serialized, base64_encoded string below.
24 class Foo
33 $class = unserialize(base64_decode($serialized));
34 var_dump($class);
H A Dbug49649_2.phpt7 *class Foo
20 * The class above represents the serialized, base64_encoded string below.
24 class Foo
33 $class = unserialize(base64_decode($serialized));
34 var_dump($class);
/PHP-7.4/tests/classes/
H A Dprivate_006.phpt2 ZE2 A private method can be overwritten in a second derived class
5 class first {
17 class second extends first {
22 class third extends second {
27 class fail extends third {
H A Dctor_name_clash.phpt2 ZE2 The child class can re-use the parent class name for a function member
5 class base {
11 class derived extends base {
21 Deprecated: Methods with the same name as their class will not be constructors in a future version …
H A Dinheritance_002.phpt5 class Base_php4 {
11 class Child_php4 extends Base_php4 {
18 class Base_php5 {
24 class Child_php5 extends Base_php5 {
31 class Child_mx1 extends Base_php4 {
38 class Child_mx2 extends Base_php5 {
58 Deprecated: Methods with the same name as their class will not be constructors in a future version …
60 Deprecated: Methods with the same name as their class will not be constructors in a future version …
62 Deprecated: Methods with the same name as their class will not be constructors in a future version …
/PHP-7.4/Zend/tests/
H A Dbug60444.phpt2 Bug #60444 (Segmentation fault with include & class extending)
5 class Foo {
7 eval("class Bar extends Foo {}");
11 class Some {
H A Dclosure_050.phpt2 Closure 050: static::class in non-static closure in non-static method.
6 class A {
9 return static::class;
15 class B extends A {}
H A Dclosure_053.phpt2 Closure 053: self::class in static closure in non-static method.
6 class A {
9 return self::class;
15 class B extends A {}
H A Dclosure_054.phpt2 Closure 054: self::class in non-static closure in non-static method.
6 class A {
9 return self::class;
15 class B extends A {}
H A Dclosure_049.phpt2 Closure 049: static::class in static closure in non-static method.
6 class A {
9 return static::class;
15 class B extends A {}
H A Dbug63976.phpt2 Bug #63976 (Parent class incorrectly using child constant in class property)
6 class Foo {
12 class Bar extends Foo {
H A Dns_037.phpt2 037: Name ambiguity (namespace name or namespace's class name)
7 class X {
11 echo "class ok\n";
30 class ok
31 class ok
32 class ok
H A Dns_095.phpt7 class ClassA{}
8 class ClassB{}
9 class ClassC{}
26 var_dump(ClassA::class);
27 var_dump(ClassB::class);
28 var_dump(ClassC::class);
H A Dbug33277.phpt2 Bug #33277 (private method accessed by child class)
5 class foo {
11 class fooson extends foo {
17 class foo2son extends fooson {
H A Dmethod_argument_binding.phpt6 class A {
10 class B extends A {
18 class C extends B {
26 class D {
32 class E extends D {
/PHP-7.4/ext/reflection/tests/
H A DReflectionObject_isInstance_basic.phpt5 class A {}
6 class B extends A {}
7 class X {}
15 foreach ($classes as $class) {
16 $ro = new ReflectionObject(new $class);
18 echo "is $name a $class? ";
H A Dbug47254.phpt9 class A
15 class B extends A
27 Deprecated: Methods with the same name as their class will not be constructors in a future version …
29 Deprecated: Methods with the same name as their class will not be constructors in a future version …
35 [class] => B
41 [class] => A
H A DReflectionClass_getModifierNames_basic.phpt8 class a {}
9 abstract class b {}
10 final class c {}
12 class x
26 abstract class y
32 function dump_modifierNames($class) {
33 $obj = new ReflectionClass($class);
37 function dump_methodModifierNames($class) {
38 $obj = new ReflectionClass($class);
H A Dbug37964.phpt2 Reflection Bug #37964 (Reflection shows private methods of parent class)
6 abstract class foobar {
10 class foo extends foobar {
17 class bar extends foo {
26 Class [ <user> class bar extends foo ] {
H A D023.phpt5 class C1 {
10 class C2 extends C1 {
15 $class = new ReflectionClass("C2");
16 var_dump($class->getDefaultProperties());
/PHP-7.4/ext/json/tests/
H A Dserialize.phpt10 class NonSerializingTest
20 class SerializingTest extends NonSerializingTest implements JsonSerializable
28 class ValueSerializingTest extends SerializingTest
36 class SelfSerializingTest extends SerializingTest
58 …y('NonSerializingTest','SerializingTest','ValueSerializingTest','SelfSerializingTest') as $class) {
59 echo "==$class==\n";
60 echo json_encode(new $class($adata)), "\n";
61 echo json_encode(new $class($ndata)), "\n";
62 echo json_encode(new $class($odata)), "\n";
/PHP-7.4/ext/session/tests/
H A Dbug53141.phpt7 spl_autoload_register(function ($class) {
8 var_dump("Loading $class");
9 eval('class Bar {}');
12 class Foo
/PHP-7.4/ext/opcache/tests/
H A Dbug78937_4.phpt2 Bug #78937.4 (Preloading unlinkable anonymous class can segfault)
15 class Bar {
21 Warning: Can't preload unlinked class Foo: Unknown parent Bar in %spreload_bug78937.inc on line 6
23 Warning: Can't preload unlinked class class@anonymous: Unknown parent Bar in %spreload_bug78937.inc…

Completed in 41 milliseconds

12345678910>>...140