Add some basic tests for the beginning
This commit is contained in:
16
tests/test3.php
Normal file
16
tests/test3.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
class Test1 {
|
||||
public $arg = 'Hello World!';
|
||||
}
|
||||
|
||||
class Test2 extends Test1 {
|
||||
public function test() {
|
||||
echo $this->arg;
|
||||
}
|
||||
}
|
||||
|
||||
$test = new Test2();
|
||||
$test->test();
|
||||
|
||||
?>
|
Reference in New Issue
Block a user