--TEST-- Bug #74673 (Segfault when cast Reflection object to string with undefined constant) --FILE-- --EXPECTF-- Fatal error: Uncaught Exception in %s:%d Stack trace: #0 [internal function]: {closure}(2, 'Use of undefine...', %s, %d, Array) #1 %s(%d): ReflectionClass->__toString() #2 {main} thrown in %s on line %d