1--TEST--
2ZE2 Initializing static properties to arrays
3--FILE--
4<?php
5
6class test {
7 static public $ar = array();
8}
9
10var_dump(test::$ar);
11
12test::$ar[] = 1;
13
14var_dump(test::$ar);
15
16echo "Done\n";
17?>
18--EXPECTF--
19array(0) {
20}
21array(1) {
22 [0]=>
23 int(1)
24}
25Done
26