Searched refs:class (Results 101 – 125 of 2985) sorted by relevance
12345678910>>...120
2 Bug #33116 (crash when assigning class name to global variable in __autoload)5 function __autoload($class)7 $GLOBALS['include'][] = $class;8 eval("class DefClass{}");
2 Testing class_alias() with abstract class using an arbitrary class name as alias6 abstract class foo { }16 Fatal error: Cannot instantiate abstract class foo in %s on line %d
2 Bug #60444 (Segmentation fault with include & class extending)5 class Foo {7 eval("class Bar extends Foo {}");11 class Some {
2 Closure 049: static::class in static closure in non-static method.7 class A {10 return static::class;16 class B extends A {}
2 Closure 050: static::class in non-static closure in non-static method.7 class A {10 return static::class;16 class B extends A {}
2 Closure 053: self::class in static closure in non-static method.7 class A {10 return self::class;16 class B extends A {}
2 Closure 054: self::class in non-static closure in non-static method.7 class A {10 return self::class;16 class B extends A {}
2 Bug #24699 (Memory Leak with per-class constants)7 class TEST { const FOO = SEEK_CUR; };8 class TEST2 { const FOO = 1; };9 class TEST3 { const FOO = PHP_VERSION; };
2 Bug #63976 (Parent class incorrectly using child constant in class property)6 class Foo {12 class Bar extends Foo {
6 class Bar {40 Notice: Object of class Bar could not be converted to int in %s on line %d43 Notice: Object of class Bar could not be converted to int in %s on line %d46 Notice: Object of class Bar could not be converted to int in %s on line %d49 Notice: Object of class Bar could not be converted to int in %s on line %d52 Notice: Object of class Bar could not be converted to double in %s on line %d55 Notice: Object of class Bar could not be converted to double in %s on line %d58 Notice: Object of class Bar could not be converted to int in %s on line %d
2 Bug #33277 (private method accessed by child class)5 class foo {11 class fooson extends foo {17 class foo2son extends fooson {
5 function au($class) {6 eval('class handler {13 function __autoload($class) {14 au($class);
5 class A {10 class B {14 class C extends A {42 [class] => B54 [class] => B
6 class NewCtor {16 class ExtendsNewCtor extends NewCtor {22 class OldCtor {31 class ExtendsOldCtor extends OldCtor {37 class X {46 class Y extends X {48 echo "\nInherited method of the same name as the class:\n";52 class OldAndNewCtor {69 class NewAndOldCtor {88 Strict Standards: Redefining already defined constructor for class OldAndNewCtor in %s on line %d[all …]
2 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 ] {
7 class Foo {10 $class = new ReflectionClass("Foo");11 echo $class;14 Class [ <user> class Foo ] {
8 class A0 {}9 class B0 extends A0 {}10 abstract class A1 {}11 class B1 extends A1 {}22 class C0 implements I0 {}23 class C1 implements I1, I3 {}24 class C2 extends C1 {}25 class C3 extends C2 implements I1 {}26 class C4 extends C3 implements I2 {}27 class C5 extends C4 implements I7 {}[all …]
7 spl_autoload_register(function ($class) {8 var_dump("Loading $class");9 eval('class Bar {}');12 class Foo
6 * Description: Return all traits used by a class15 class fooUser { use foo; }18 class barUser { use bar; }20 class foobarUser { use foo, bar; }23 Traits are flattend into a class, and that semantics is nothing25 class fooViaBarUser extends barUser { use foo; }27 class fooExtended extends fooUser {}
5 $closure = function($class) {9 class Autoloader {14 public function __invoke($class) {15 var_dump("{$this->dir}/$class.php");36 ["$class"]=>
2 ZE2 A private method can be overwritten in a second derived class7 class first {19 class second extends first { 24 class third extends second {29 class fail extends third {
2 Basic class support - attempting to create a reference to a class constant5 class aclass10 echo "\nAttempting to create a reference to a class constant - should be parse error.\n";
2 ZE2 The child class can re-use the parent class name for a function member5 class base {11 class derived extends base {
47 Class: Namespace:class49 Static method: Namespace:class::method57 Class: :class59 Static method: :class::method62 Class variable: $:class::variable71 Class: Name:Space:class91 3 class Form {102 3 class Image {134 order: class, function, constant.139 import class Form from HTML;[all …]
12 /* class 1 calls parent constructor */13 class mysql1 extends mysqli {20 /* class 2 has an own constructor */21 class mysql2 extends mysqli {29 /* class 3 has no constructor */30 class mysql3 extends mysqli {
Completed in 21 milliseconds