diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-24 17:47:35 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-24 17:47:35 +0200 |
commit | c63a0e005abe4b00ab097dc47ca53d20788a6361 (patch) | |
tree | 05a912eb7f7c38cba7e5098a75a94e48199acaed /Zend/zend_API.c | |
parent | 435f2691088fa9011696fd331d401544155d69a9 (diff) | |
download | php-git-c63a0e005abe4b00ab097dc47ca53d20788a6361.tar.gz |
Optimize instanceof_class/interface
instanceof_class does not need to check for a NULL pointer in the
first iteration -- passing NULL to this function is illegal.
instanceof_interface does not need to use instanceof_class(), it
only has to check whether the CEs match exactly. There is no way
for an interface to appear inside "parent", it will always be in
"interfaces" only.
Diffstat (limited to 'Zend/zend_API.c')
0 files changed, 0 insertions, 0 deletions