--TEST-- Bug #74673 (Segfault when cast Reflection object to string with undefined constant) --FILE-- --EXPECTF-- Class [ class A ] { @@ %s - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [1] { Method [ public method method ] { @@ %s - Parameters [1] { Parameter #0 [ $test = PHP_SELF + 1 ] } } } }