xref: /PHP-7.0/Zend/tests/try/bug72629.phpt (revision 97c0b133)
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
15--EXPECT--
16bool(true)
17