1--TEST--
2ZE2 object references
3--FILE--
4<?php
5
6class Foo {
7	public $name;
8
9	function __construct() {
10		$this->name = "I'm Foo!\n";
11	}
12}
13
14$foo = new Foo;
15echo $foo->name;
16$bar = $foo;
17$bar->name = "I'm Bar!\n";
18
19// In ZE1, we would expect "I'm Foo!"
20echo $foo->name;
21
22?>
23--EXPECT--
24I'm Foo!
25I'm Bar!
26