数组中的对象是否通过引用传递?
在下面这样的情况下,
class my_class {
public __construct($params = array()){
**** do something
}
}
$other_object = new some_class();
$object = new my_class(array(
'var1' => 'test'
'object' => $other_object));
$other_object 将通过引用或值传递?