This is not needed anymore
This commit is contained in:
parent
72f2cc2c1b
commit
765ec4d074
|
@ -1,9 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class Test1 {
|
|
||||||
}
|
|
||||||
|
|
||||||
$test = new Test1();
|
|
||||||
var_dump($test);
|
|
||||||
|
|
||||||
?>
|
|
|
@ -1,12 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class Test1 {
|
|
||||||
}
|
|
||||||
|
|
||||||
class Test2 extends Test1 {
|
|
||||||
}
|
|
||||||
|
|
||||||
$test = new Test2();
|
|
||||||
var_dump($test);
|
|
||||||
|
|
||||||
?>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
class Test1 {
|
|
||||||
public $arg = 'Hello World!';
|
|
||||||
}
|
|
||||||
|
|
||||||
class Test2 extends Test1 {
|
|
||||||
public function test() {
|
|
||||||
echo $this->arg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
$test = new Test2();
|
|
||||||
$test->test();
|
|
||||||
|
|
||||||
?>
|
|
Loading…
Reference in New Issue