php-src
php-src copied to clipboard
The PHP Interpreter
### Description The following code: ```php
### Description ### Description With `opcache.file_cache` enabled, a script that cannot be stored in shared memory (SHM full) is compiled and written to the file cache only. Its `.bin` then...
### Description Hi folks, We are analysing the PHP code and while it's clear that there are performance benefits from PHP current ZendMM allocator, we also see benefits from disabling...
### Description max_execution_time should mean the same thing whatever the build. Today it counts CPU time on Linux, as the manual says ("database queries, etc. is not included"), but wall...
### Description A Laravel scheduled CLI command (`php artisan schedule:run`, run every minute by cron) intermittently segfaults inside JIT-generated code. It happens in bursts: once it starts, nearly every hourly...
### Description Signal dispositions are process-wide, but under ZTS the PHP handler for a signal belongs to the thread that registered it. With several threads running PHP requests (an embedding...
### Description On a ZTS build configured with `--disable-zend-signals` (as Homebrew's `php-zts` is), `pcntl_signal_handler()` is installed directly with `sigaction()` and reads `PCNTL_G(...)` without checking that it is running on a...
### Description On a ZTS build configured with `--disable-zend-signals`, the execution timeout signal can be delivered to a thread that never ran PHP, such as a libdispatch worker on macOS....
### Description Since #24134, an object that stores a suspended fiber whose callable is a closure bound to that object is never freed, not even by `gc_collect_cycles()`. Every Revolt event...
### Description Hi, my static analyzer, Svace, has found a potential bug. Could you take a look and provide some feedback? (File - /ext/dom/php_dom.c) The function php_dom_create_fake_namespace_decl_node_ptr() dereferences the return...