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 eg.exception)' failed. Aborted (core dumped) ``` To reproduce: `./sapi/cli/php test.php` Commit: ``` 33a61f765a94e018a8d55d962a73e8c8331ee256 ``` Configurations: ``` CC="clang-12" CXX="clang++-12" CFLAGS="-DZEND_VERIFY_TYPE_INFERENCE" CXXFLAGS="-DZEND_VERIFY_TYPE_INFERENCE" ./configure --enable-debug --enable-address-sanitizer --enable-undefined-sanitizer...

Bug
Category: Engine
Status: Verified

### Description The following code: ```php 42; } } $o = new C; $a = new ArrayObject($o); $a["prop"] = 1; var_dump(get_object_vars($o)); ``` Resulted in this output: ``` php: Zend/zend_hash.c:1007: zval...

Bug
Status: Needs Triage

### Description The following code: ```php open("", ""); ``` Resulted in this output: ``` ext/session/mod_files.c:138:12: runtime error: member access within null pointer of type 'ps_files' #0 0x3d9adf2 in ps_files_close ext/session/mod_files.c:138:12...

Bug
Status: Needs Triage

### Description The following code: ```php isReadable(null, new DOMDocument)); ``` Resulted in this output: ``` Zend/zend_types.h:697:13: runtime error: member access within misaligned address 0x7fcbe7e4c437 for type 'const zval' (aka 'const...

Bug
Status: Needs Triage

### Description The following code: ```php $value; } } $doc = new Test; var_dump(get_object_vars($doc)); ``` Resulted in this output: ``` Zend/zend_types.h:697:13: runtime error: member access within misaligned address 0x7f5c86875167 for...

Bug
Status: Needs Triage

### Description The following code: ```php 5 && $x < 7) { return match ((int) $x) { 6 => "six", default => "not six" }; } } echo f(5.5); ```...

Bug
Status: Verified
Category: Optimizer

With the tracing JIT, compiling a trace that contains `$x = -1; $x *= PHP_INT_MIN` computes `INT64_MIN / -1` inside the IR constant folder, which is undefined behaviour and crashes...

### Description With the function JIT at `opcache.jit=1205` or `1204`, compiling the method below writes this line to stderr once per process: ``` ENTRY 2 (block 15 start 68) -...

Bug
Category: JIT
Status: Verified

### Description I have been investigating a problem with Cacti where it opens a new database connection on every 5 minute poll interval, and never closes them, eventually running the...

Bug
Extension: pdo (core)
Status: Invalid

### Description The following code: ```php [opcache] opcache.enable=1 opcache.enable_cli=1 opcache.memory_consumption=512 opcache.jit_buffer_size=256M opcache.interned_strings_buffer=16 opcache.max_accelerated_files=200000 opcache.max_wasted_percentage=5 opcache.use_cwd=1 opcache.validate_timestamps=0 opcache.revalidate_freq=600 opcache.revalidate_path=0 opcache.save_comments=1 opcache.enable_file_override=0 opcache.optimization_level=0x7FFFBFFF opcache.dups_fix=0 opcache.max_file_size=0 opcache.consistency_checks=0 opcache.force_restart_timeout=180 opcache.file_cache_only=0 opcache.file_cache_consistency_checks=1 opcache.huge_code_pages=1 opcache.preload=/path/to/config/preload.php opcache.preload_user=user...

Bug
Category: JIT