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