Skip to content

Commit 8936bbf

Browse files
committed
Add static properties to test project
1 parent df14632 commit 8936bbf

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

testproject/index.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
$nullValue = null;
1111
$variableThatsNotSet;
1212
$aLargeArray = array_fill(0, 100, 'test');
13-
14-
class TestClass {
13+
14+
class TestParentClass {
15+
public static $aStaticProperty = 1234;
16+
}
17+
18+
class TestClass extends TestParentClass {
19+
public static $aStaticProperty = 5678;
1520
public $aProperty;
1621
private $aPrivateProperty;
1722
public function __construct() {

0 commit comments

Comments
 (0)