1--TEST--
2Exception after separation during indirect write to fcall result
3--FILE--
4<?php
5
6function throwing() { throw new Exception; }
7
8function getArray($x) { return [$x]; }
9
10try {
11    getArray(0)[throwing()] = 1;
12} catch (Exception $e) {
13    echo "Exception\n";
14}
15
16?>
17--EXPECT--
18Exception
19