1--TEST--
2Exception during read part of compound assignment operation on a property
3--FILE--
4<?php
5
6class Test {
7    public function __get($name) {
8        throw new Exception;
9    }
10}
11
12$test = new Test;
13try {
14    $test->prop += 42;
15} catch (Exception $e) {}
16var_dump($test);
17
18?>
19--EXPECT--
20object(Test)#1 (0) {
21}
22