commit | 3c168ef332ed66929c404cbf8c02ec04bfd02780 | [log] [tgz] |
---|---|---|
author | Olly Betts <olly@survex.com> | Wed May 05 12:02:38 2021 +1200 |
committer | Olly Betts <olly@survex.com> | Tue May 25 16:28:44 2021 +1200 |
tree | 0c5dd3787b2252275543095deb998b226dd16e4e | |
parent | e82725b22e9352f269875ecee0c868dd434a04fb [diff] |
Map known PHP interfaces to zend_class_entry* Most pre-defined interfaces are accessible via zend_class_entry* variables declared in the PHP C API - we can use these to add an interface at MINIT time (rather than having to wait until RINIT to look up by name) by having a mapping from PHP interface name to them. This will also be a little faster than looking up by name. Closes #2013