xref: /PHP-7.2/Zend/tests/try/bug72629.phpt (revision f1d7e3ca)
1--TEST--
2Bug #72629 (Caught exception assignment to variables ignores references)
3--FILE--
4<?php
5
6$var = null;
7$e = &$var;
8
9try {
10	throw new Exception;
11} catch (Exception $e) { }
12
13var_dump($var === $e);
14--EXPECT--
15bool(true)
16