]> granicus.if.org Git - php/commit
More efficient check for valid class name
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 10 Jun 2020 12:50:35 +0000 (14:50 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 10 Jun 2020 12:50:35 +0000 (14:50 +0200)
commit1c74bab8e61199c400217afc4082ee2cd9b722e3
treefea084858e5b06aa125fa907038840552c20f3a7
parentbda099a3c49e8127e7c37bcf0f252e2dd3c81c6c
More efficient check for valid class name

Use a bitset of valid characters instead of strspn. This is both
more efficient and more compact.
Zend/zend_execute_API.c