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 A lot of ppl open PR without linking the original issue in the PR body, and Bughub ain’t linking it in the issue page. e.g. [Update utf8-valid flag...

Feature
Status: Verified

## Description Since PHP 8.5.12, `PDOStatement::fetch()` on a SQL Server `text` or `ntext` column kills the process as soon as the value is longer than about 4 KB: ``` Hard...

Bug
Status: Needs Triage

### Description The following code: ```php __serialize(); $fusion = $o; $fusion['a.php'] = '

Bug
Extension: spl
Status: Verified

### Description Since GH-20097 (aaed3ccb479), `zend_weakmap_read_dimension()` inserts a missing key for `BP_VAR_W`/`BP_VAR_RW`. With a temporary key, the `FETCH_DIM_W` handler then frees the TMP key, the weakref notification removes the just-inserted...

Bug
Category: Engine
Status: Verified

### Description The following code: ```php documentElement->closest("root"); ``` Resulted in this output: ``` php: ext/dom/parentnode/css_selectors.c:85: lxb_css_selector_list_t *dom_parse_selector(lxb_css_parser_t *, lxb_selectors_t *, const zend_string *, lxb_selectors_opt_t, const dom_object *): Assertion `status ==...

Bug
Extension: dom
Status: Verified

### Description `ZEND_DECLARE_LAMBDA_FUNCTION` caches a stateless (`static fn`) closure in the declaring function's runtime cache and pushes it onto `EG(lambda_cache)`, which is only released at shutdown. When the declaring function...

Bug
Status: Needs Triage

### Description The compile-time optimization that turns `array_map()` with a first-class callable callback into a foreach loop (`zend_compile_func_array_map()`, introduced by a3576bddc52 / GH-20934) diverges from the runtime `array_map()` in several...

Bug
Status: Needs Triage

``` ``` Reports a negative value for used_memory. ![used_memory](https://github.com/user-attachments/assets/7bd9620f-102b-4438-a23a-2dd143eab52b) Image is from a VDS system with opcache.memory_consumption=1GB and several sites. But issue was reproduced within the following environment: - PHP...

Bug
SAPI: fpm
Extension: opcache

### Description The following code: ```php gc) == 1) || ((ht)->u.flags & (1

Bug
Extension: standard
Status: Verified

### Description **Description**: I encountered a heap UAF bug in PHP with commit fb257ee83c405fecf449571bfcd1cc0fb4910336 I built the binary following OSS-Fuzz's guidelines, and the bug was reproduced in `php-fuzz-execute`. ```php

Bug
Category: Engine
Status: Verified