Add some basic tests for the beginning

This commit is contained in:
2018-07-25 13:41:31 +02:00
parent 6628a1ea3d
commit 0c08bc61d4
3 changed files with 37 additions and 0 deletions

16
tests/test3.php Normal file
View 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();
?>