--TEST-- Reflection Bug #33389 (double free() when exporting a ReflectionClass) --FILE-- --EXPECTF-- Class [ class Test ] { @@ %sbug33389.php 3-18 - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [0] { } - Methods [7] { Method [ public method foo1 ] { @@ %sbug33389.php 4 - 5 - Parameters [1] { Parameter #0 [ $arg = foobar ] } } Method [ public method foo2 ] { @@ %sbug33389.php 6 - 7 - Parameters [1] { Parameter #0 [ $arg = NULL ] } } Method [ public method foo3 ] { @@ %sbug33389.php 8 - 9 - Parameters [1] { Parameter #0 [ $arg = false ] } } Method [ public method foo4 ] { @@ %sbug33389.php 10 - 11 - Parameters [1] { Parameter #0 [ $arg = 'foo' ] } } Method [ public method foo5 ] { @@ %sbug33389.php 12 - 13 - Parameters [1] { Parameter #0 [ $arg = 1 ] } } Method [ public method bar ] { @@ %sbug33389.php 14 - 15 - Parameters [1] { Parameter #0 [ $arg ] } } Method [ public method foo ] { @@ %sbug33389.php 16 - 17 } } }