]> granicus.if.org Git - php/commit
Optimize ReflectionProperty constructor
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 27 Jun 2018 21:21:06 +0000 (23:21 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 27 Jun 2018 21:21:06 +0000 (23:21 +0200)
commit78f2a1b81d073c449ecdc30e177078bc25cd6d56
treebab53ff3ba3aa7e475baea8d5e5a81d1437141cd
parent9b02ee0bba86becc951b65bb6d3527cf3ba7265e
Optimize ReflectionProperty constructor

Perform HT lookups using a zend_string. Don't copy the name for
the "name" property. We can always use the original name directly,
as properties case case-sensitive, so the original name should
always match the unmangled name of the fetched property info.
ext/reflection/php_reflection.c