1--TEST-- 2Live range & free on return & TMP var of RETURN opcode 3--FILE-- 4<?php 5class bar{ 6 public $y; 7 function __destruct() { 8 y; 9 } 10} 11foreach(new bar as $y) { 12 try { 13 return new Exception; 14 } catch(y) { 15 } 16} 17?> 18--EXPECTF-- 19Fatal error: Uncaught Error: Undefined constant "y" in %stemporary_cleaning_017.php:5 20Stack trace: 21#0 %stemporary_cleaning_017.php(10): bar->__destruct() 22#1 {main} 23 thrown in %stemporary_cleaning_017.php on line 5 24