]> granicus.if.org Git - php/commit
Don't call Reflection::export() internally
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Jul 2019 12:13:05 +0000 (14:13 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 11 Jul 2019 12:14:55 +0000 (14:14 +0200)
commit42cac9d7d7e5c82cf3565a33f3dd6c3d2c6b42d4
tree8b048213e98e4f5fd58cd70fd7c5cb38e7527d23
parent17997a908de892468cc0114c2cc590e2bc8d13f3
Don't call Reflection::export() internally

export() methods were implemented in a roundabout way, where they
would call Reflection::export(), which would then call __toString().
Cut out the middleman by directly calling __toString().
ext/reflection/php_reflection.c