php-src icon indicating copy to clipboard operation
php-src copied to clipboard

The PHP Interpreter

Results php-src issues
Sort by recently updated
recently updated
newest added

### Description `string_mask` in a CSR config sets the mask process-wide, with `ASN1_STRING_set_default_mask_asc()`. Nothing restores it. So a later `openssl_csr_new()` whose config has no `string_mask` uses the old one. With...

Bug
Status: Needs Triage

### Description OpenSSL errors from one request show up in the next request of the same worker. PHP keeps them in `OPENSSL_G(errors)`, which is only freed in GSHUTDOWN. php-fpm with...

Bug
Status: Needs Triage

### Description Last time we did update from PHP 8.1.7 to 8.1.12 and we noticed that phpunit tests slowed down. I did a research where is the problem and it...

Bug
Category: GC

### Description `array_multisort()` and the `usort()` family keep the state of the sort in progress in thread globals: `ARRAYG(multisort_func)` and `BG(user_compare_fci)` / `BG(user_compare_fci_cache)`. Each call saves the previous value on...

### Description A selector whose identifier starts with a non-ASCII character is rejected: ```php querySelector('#\e9 t\e9')?->textContent); var_dump($doc->querySelector('#été')?->textContent); ``` Resulted in this output: ``` string(1) "a" Fatal error: Uncaught DOMException: Invalid...

### Description Common modern file systems store higher creation/modification dates [1]. There should be a way how to get the full date precision. [1] https://unix.stackexchange.com/questions/11599/determine-file-system-timestamp-precision#490990

Feature
Status: Needs Triage

### Description With `pm = ondemand`, a connection that arrives while the master is killing the last idle child for `pm.process_idle_timeout` is never handled. It stays in the listen backlog...

Bug
Status: Needs Triage

### Description The following code: ```php

Bug
Status: Needs Triage

Discovered while filing #25404 - separate from the missing `zend_return_unwrap_ref()`: ```php v; } } var_dump(zend_call_method(Demo::class, 'returnsProp')); ``` results in ``` php: Zend/zend_vm_execute.h:33374: const zend_op *ZEND_FETCH_OBJ_R_SPEC_UNUSED_CONST_INLINE_HANDLER(zend_execute_data *, const zend_op *): Assertion...

Bug
Extension: zend_test
Status: Verified