【发布时间】:2016-10-18 20:30:54
【问题描述】:
Class Test {
private static $one = ['a','b'];
private static $two = Test::$one; // Throws an error
// Error : syntax error, unexpected '$one', expecting 'identifier' or 'class'
}
为什么会抛出错误,这里有什么方法可以使$two = $one?
【问题讨论】:
标签: php class oop object static