Searched refs:class (Results 351 – 375 of 5459) sorted by relevance
1...<<11121314151617181920>>...219
/php-src/ext/date/tests/ |
H A D | bug48476.phpt | 2 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 D | class_abstract.phpt | 2 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 D | constants_basic_004.phpt | 2 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 D | ReflectionParameter_isDefaultValueAvailable_Internal.phpt | 5 $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 D | constant_019.phpt | 2 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 D | iterable_005.phpt | 6 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 D | typed_properties_005.phpt | 5 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 D | typed_properties_094.phpt | 6 class A { 9 class B extends A { 17 class A2 { 24 class B2 extends A2 {
|
/php-src/Zend/tests/ |
H A D | bug63305.phpt | 6 spl_autoload_register(function ($class) { 7 switch ($class) { 10 class Attachment extends File { 17 class File {
|
H A D | bug74862_2.phpt | 2 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 D | get_class_vars_001.phpt | 6 class A { 12 class B extends A { 40 get_class_vars(): Argument #1 ($class) must be a valid class name, Unknown given
|
H A D | get_class_vars_006.phpt | 6 class A { 10 class B extends A { } 12 class C extends B { } 20 class D extends B {
|
H A D | grandparent_prototype.phpt | 6 class A { 9 class B extends A { 14 class C extends A { 17 class D extends C {
|
H A D | bug51822.phpt | 2 Bug #51822 (Segfault with strange __destruct() for static class variables) 5 class DestructableObject 13 class DestructorCreator 23 class Test
|
H A D | bug54910.phpt | 5 class A { 14 $class = get_class($this); 15 $call = array($class, 'noSuchMethod'); 23 class B extends A {}
|
H A D | gh14009_004.phpt | 6 class A { 12 class B extends A { 23 class C extends B { 27 class D extends A {
|
H A D | bug77530.phpt | 2 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 D | notify.phpt | 9 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 D | array_unshift_object.phpt | 13 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 D | sizeof_object2.phpt | 9 // 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 D | bug78014.inc | 2 class A { 5 class B extends A { 8 class C extends B {
|
H A D | preload_bug79114.phpt | 2 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 D | 012.phpt | 5 class Foo { 8 $class = new ReflectionClass("Foo"); 9 $props = $class->getDefaultProperties();
|
/php-src/Zend/tests/type_declarations/dnf_types/redundant_types/ |
H A D | inheritence.phpt | 2 Intersection with child class 7 class A {} 8 class B extends A {}
|
/php-src/Zend/tests/errmsg/ |
H A D | errmsg_026.phpt | 2 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