1--TEST-- 2Ensure proper backtraces with anon classes 3--FILE-- 4<?php 5 6(function($obj) { 7 throw new Exception(); 8})(new class {}); 9 10?> 11--EXPECTF-- 12Fatal error: Uncaught Exception in %s:%d 13Stack trace: 14#0 %s(%d): {closure}(Object(class@anonymous)) 15#1 {main} 16 thrown in %s on line %d 17