¶
References
externals.io
3v4l.org
Jeremy Mikola -
PHP Internals for the Inquisitive Developer
(October 2019)
Chris Lyne -
Dumping PHP Opcodes Protected by SourceGuardian
d8devs -
Dump PHP 8.1 OPCodes using Vulkan Logic Dumper with Bonus
PHP.Watch
-
How to dump and inspect PHP OPCodes
Do they know it's C in PHP
by
Anders Björkland
Using CLion with php-src
by
Ben Ramsey
PHP 7.4 FFI: What You Need to Know
by
Grégoire Pineau
Writing PHP Extensions
by Zend
Enter the Matrix
by
Julien Maury
PHP Variables Under the Hood
by
Sergey Podgornyy
How opcache works
by
Nikita Popov
PHP's new hashtable implementation
by
Nikita Popov
(December 2014)
https://php.watch/articles/php-zend-engine-special-inlined-functions
https://www.datadoghq.com/blog/engineering/php-8-observability-baked-right-in/
https://php.watch/articles/php-zend-engine-special-inlined-functions
https://github.com/php/php-src/pulls
¶
Enhancements
Inheritance Cache
¶
opcache preloading
Iain Cambridge -
How Much of a Difference does Opcache Preloading Make
(Oct., 2021)
¶
Source Code
math.c
/
php_math.h
uint32_t
zend_convert_type_declaration_mask()
[Zend/Optimizer/zend_inference.c]
ZEND_KNOWN_STRINGS()
[Zend/zend_string.h]
Zend/zend_type_info.h
Regular data types
[Zend/zend_types.h]
Built-in Types
[Zend/zend_compile.c]
Existing data types by function validation - int
zend_try_compile_special_func
() [
Zend/zend_compile.c
]
Known Strings
(reserve keywords) [Zend/zend_string.h]
ZSTR_KNOWN, ZVAL_LONG, ZVAL_STR, ZEND_TYPE_IS_COMPLEX, RETURN_TOKEN_WITH_IDENT
SoapClient::__doRequest
(
manual
)
PHP_METHOD()
[ext/soap/soap.c]
int
make_http_soap_request
()
[ext/soap/php_http.c]
static php_stream*
http_connect(
)
[ext/soap/php_http.c]
PHP_FUNCTION(
in_array
)
PHP_FUNCTION(is_null)
/
type.c
¶
Libraries
(add my c/c++ group libraries from github)