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 The following code: ```php value = new Test; test($box); foreach ([1, 2, 3] as &$box) {} ``` Resulted in this output: ``` php: Zend/zend_objects_API.c:188: void zend_objects_store_del(zend_object *): Assertion...

Bug
Status: Needs Triage

### Description # It has been confirmed that: - PHP 8.1.29 - The private key matches the public key - Data transfer is complete - Base64 encoding used for transmission...

Feature
Extension: openssl
Status: Duplicate

### Description ### problem [Extracting the `HTTP_ACCEPT_LANGUAGE` header](https://stackoverflow.com/a/3771447/5008962) is [a very common task](https://neidl.net/technik/php-doku/function.http-negotiate-language.html#86787) and [many implementations in PHP apps exist](https://www.jesseskinner.com/blog/use-accept-language-header/). Some of the quite crude (only take the first two...

Feature
Extension: intl

### Description Based on: https://web.archive.org/web/20251017002820/https://slcyber.io/assetnote-security-research-center/a-novel-technique-for-sql-injection-in-pdos-prepared-statements/ When developers write SQL statements by concatenating user input directly into the query, the input can contain a NUL byte which will then confuse the...

Bug
Extension: pdo (core)
Extension: pdo_mysql
Status: Needs Triage

### Description This is a copy of https://github.com/doctrine/dbal/issues/7146 opened at doctrine/dbal, as the same change can be considered in php-src as well. I've been linked to a quite interesting article...

Feature
Extension: pdo (core)
Status: Requires RFC

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

Bug
Extension: pdo_pgsql

### Description The following code: ```php "A", 15 => "B", default => "C", }; ``` Resulted in this output: ``` L0002 0000 MATCH int(15) 13: 0001, 15: 0003, default: 0005...

Bug
Category: Engine
Status: Verified

### Description The following code: ```php getBackingValue(); ``` Resulted in this output: ``` *explosion* ``` But I expected this output instead: ``` exception ``` ### PHP Version ```plain 8.4+ ```...

Bug
Extension: reflection
Status: Verified

### Description The following code: ```php WSDL_CACHE_NONE]); $c->test([[1]]); ``` Resulted in this output: ``` ext/soap/php_encoding.c:3114:5: runtime error: member access within null pointer of type 'struct _encode' #0 0x3e95282 in to_xml_list...

Bug
Status: Needs Triage

## Description `opcache.opt_debug_level` lets the CLI SAPI dump the bytecode of a file without executing it, for instance: ``` php -d opcache.enable_cli=1 -d opcache.opt_debug_level=0x10000 -r 'opcache_compile_file("file.php");' ``` For tools that...

Feature
Extension: opcache
Status: Needs Triage