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 If a `FilterIterator` subclass passes a finished generator to `parent::__construct()`, the constructor throws. If the subclass catches that exception, a later `next()` call crashes PHP. The following code:...

Bug
Status: Needs Triage

### Description Not sure, if this is really a bug. It is more like a question if this is a bug The following code: ```php

Feature
Extension: curl
Status: Verified

### Description The following code, built against the embed SAPI and run with `extension=enchant` in `php.ini`: ```c #include int main(int argc, char **argv) { for (int i = 0; i...

### Description The following invocation: ```sh php -n -d allow_url_include=1 -d log_errors=1 -d error_log=/tmp/tzlog -d output_handler=inexistent -d date.timezone=Europe/Berlin -r '' ``` Resulted in this output under ASAN ZTS: ``` Deprecated:...

Bug
Extension: date

### Description The following code: ```php $a]; } $b=array_merge_recursive($a,$a); echo "ok\n"; ``` Resulted in this output: ``` AddressSanitizer:DEADLYSIGNAL ================================================================= ==56==ERROR: AddressSanitizer: stack-overflow on address 0x7ffffca8dff8 (pc 0x7f0bfc038c33 bp 0x7ffffca8e000 sp...

Bug
Extension: standard
Status: Verified

### Summary phpdbg accesses freed watchpoint object at `php_module_shutdown` which is already freed from `php_request_shutdown`. ### Details - **OS**: Ubuntu 22.04 - **commit**: 6fa4286ba4712963c2a07fdb178c239e04ad4da4 (8.4.0-dev) - **compiler**: Clang 15 -...

Bug
SAPI: phpdbg
Status: Verified

### Description The following code: ```php $x, [1]); ``` Resulted in this output: ``` php: ext/standard/array.c:7122: void zif_array_map(zend_execute_data *, zval *): Assertion `ret == SUCCESS' failed. Aborted (core dumped) ```...

Bug
Extension: standard
Status: Verified

The following cases trigger assertion failures, tested on latest 8.6 dev (0dbc4a7953a8aca38d0cf04fa4fb4ac076f00419) ``` php: Zend/zend_vm_execute.h:2167: const zend_op *ZEND_DO_FCALL_SPEC_RETVAL_USED_HANDLER(zend_execute_data *, const zend_op *): Assertion `((call->func->common.fn_flags & (1

Bug
Extension: standard
Extension: zend_test
Status: Verified

### Description Hi, I found a potential bug. Could you take a look and provide some feedback? ## File: pcre2lib/pcre2_pattern_info.c ### Description The function php_pcre2_callout_enumerate() walks the compiled bytecode without...

Bug
Status: Needs Triage

As a proper long-term fix we probably need per-extension hooks in `php_child_init()`. _Originally posted by @TimWolla in https://github.com/php/php-src/issues/22164#issuecomment-4563134400_

Feature
Category: Engine
Status: Verified