<?php class Bar{} $foo = array( 'foo' => '', 'bar' => new Bar(), ); $bar = $foo; var_dump($foo, $bar);
You have javascript disabled. You will not be able to edit any code.