Home
last modified time | relevance | path

Searched refs:class (Results 351 – 375 of 5459) sorted by relevance

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

/php-src/ext/date/tests/
H A Dbug48476.phpt2 Bug #48476 (cloning extended DateTime class without calling parent::__constr crashed PHP)
5 class MyDateTime extends DateTime {
8 class MyDateTimeZone extends DateTimeZone {
16 echo $e::class, ': ', $e->getMessage(), "\n";
23 echo $e::class, ': ', $e->getMessage(), "\n";
31 echo $e::class, ': ', $e->getMessage(), "\n";
/php-src/tests/classes/
H A Dclass_abstract.phpt2 ZE2 An abstract class cannot be instantiated
6 abstract class base {
12 class derived extends base {
26 Fatal error: Uncaught Error: Cannot instantiate abstract class base in %s:%d
H A Dconstants_basic_004.phpt2 Test properties with array default values using class constants as keys and values.
5 class X
7 // Static and instance array using class constants
12 class B
17 // Static and instance array using class constants with self
22 class C extends B
24 // Static and instance array using class constants with parent
28 // Static and instance array using class constants with self (constants should be inherited)
/php-src/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_isDefaultValueAvailable_Internal.phpt5 $class = new ReflectionClass('DateTime');
6 $method = $class->getMethod('setTime');
14 $class = new ReflectionClass('DateTimeZone');
15 $method = $class->getMethod('listIdentifiers');
/php-src/Zend/tests/traits/
H A Dconstant_019.phpt2 Flattened trait constants are retrieved as members of the composing class via Reflection
10 class TestClass {
14 $reflection = new \ReflectionClass(TestTrait::class);
18 $reflection = new \ReflectionClass(TestClass::class);
/php-src/Zend/tests/type_declarations/iterable/
H A Diterable_005.phpt6 class Test {
12 class TestArray extends Test {
18 class TestTraversable extends Test {
24 class TestScalar extends Test {
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_005.phpt5 class Dummy {}
7 new class(new Dummy) {
16 Fatal error: Uncaught TypeError: Cannot assign Dummy to property class@anonymous::$std of type stdC…
18 #0 %s(%d): class@anonymous->__construct(Object(Dummy))
H A Dtyped_properties_094.phpt6 class A {
9 class B extends A {
17 class A2 {
24 class B2 extends A2 {
/php-src/Zend/tests/
H A Dbug63305.phpt6 spl_autoload_register(function ($class) {
7 switch ($class) {
10 class Attachment extends File {
17 class File {
H A Dbug74862_2.phpt2 Bug #74862 (Unable to clone instance when private __clone defined in a child class)
6 class main {
9 class a extends main {
33 class c extends a {
H A Dget_class_vars_001.phpt6 class A {
12 class B extends A {
40 get_class_vars(): Argument #1 ($class) must be a valid class name, Unknown given
H A Dget_class_vars_006.phpt6 class A {
10 class B extends A { }
12 class C extends B { }
20 class D extends B {
H A Dgrandparent_prototype.phpt6 class A {
9 class B extends A {
14 class C extends A {
17 class D extends C {
H A Dbug51822.phpt2 Bug #51822 (Segfault with strange __destruct() for static class variables)
5 class DestructableObject
13 class DestructorCreator
23 class Test
H A Dbug54910.phpt5 class A {
14 $class = get_class($this);
15 $call = array($class, 'noSuchMethod');
23 class B extends A {}
H A Dgh14009_004.phpt6 class A {
12 class B extends A {
23 class C extends B {
27 class D extends A {
H A Dbug77530.phpt2 Bug #77530: PHP crashes when parsing '(2)::class'
6 echo (2)::class;
10 Fatal error: Illegal class name in %s on line %d
/php-src/Zend/tests/weakrefs/
H A Dnotify.phpt9 foreach ($classes as $class) {
10 $reflector = new \ReflectionClass($class);
21 printf("free handler of %s did not call zend_weakrefs_notify?\n", $class);
26 print "Did not test any class\n";
/php-src/ext/standard/tests/array/
H A Darray_unshift_object.phpt13 class SimpleClass
21 // class without members
22 class EmptyClass
26 // abstract class
27 abstract class AbstractClass
33 // class deriving the above abstract class
34 class ChildClass extends AbstractClass
42 // class with final method
43 class FinalClass
51 // class with static members
[all …]
H A Dsizeof_object2.phpt9 // class without member
10 class test
16 class test1
26 // class with only member functions
27 class test2
37 // child class which inherits parent test2
38 class child_test2 extends test2
44 // abstract class
45 abstract class abstract_class
53 // implement abstract 'abstract_class' class
[all …]
/php-src/ext/opcache/tests/
H A Dbug78014.inc2 class A {
5 class B extends A {
8 class C extends B {
H A Dpreload_bug79114.phpt2 Bug #79114 (Eval class during preload causes class to be only half available)
16 var_dump(class_exists(Foo::class));
17 var_dump(class_exists(Bar::class));
/php-src/ext/reflection/tests/
H A D012.phpt5 class Foo {
8 $class = new ReflectionClass("Foo");
9 $props = $class->getDefaultProperties();
/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/
H A Dinheritence.phpt2 Intersection with child class
7 class A {}
8 class B extends A {}
/php-src/Zend/tests/errmsg/
H A Derrmsg_026.phpt2 errmsg: cannot redeclare class
6 class stdclass {
12 Fatal error: Cannot redeclare class stdClass in %s on line %d

Completed in 25 milliseconds

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