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 fetches a object with a single property whose name and value is '42'. ```php query('SELECT 42'); $obj = $res->fetch_object(); $prop = 42; var_dump($obj); echo ">{$obj->$prop}{$obj->$prop}

Bug
Extension: mysqli
Status: Verified

### Description Currently, PHP 8.1 is shipped with source files of LSAPI 7.9. Support for PHP 8.1 is available from 8.0 and newer. Litespeed environment variables like $VH_USER, $VH_ROOT and...

Bug
Status: Invalid

### Description Hi, We've come across an interesting issue where an instance of the php-fpm pool ran by one user gets stuck restarting and tries to kill another user's php-fpm...

Bug
SAPI: fpm
Status: Needs Triage

### Description I got a strange one :) There is an inconsistency between php-cgi and php-cli if following conditions are meet. - Generate an array with `range()` where one argument...

Bug
Status: Verified
Category: Optimizer

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

Bug
Extension: zlib
Status: Invalid

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

Bug
Category: Engine
Status: Needs Triage

### Description I believe that a lot of code in php-src/pecls relies on the fact that the pointer of Z_OBJPROP_P doesn't change, for non-empty properties tables. There's may be more...

Bug
Extension: spl
Status: Verified

### Description The following code: ```php 'Test', ]; private const TEST = 'test'; } class B extends A { } $r = new ReflectionClass(B::class); print_r($r->getConstants()); ``` Resulted in this output:...

Bug
Extension: reflection
Status: Verified

### Description I've been trying to modernize the build system of an extension (specifically PDO_IBM, so we can do better CI), including [replacing an old and crufty PDO check](https://github.com/php/pecl-database-pdo_ibm/pull/6/commits/6510dd4e9a4de052763693bcce8ddc78945eeafc) (that...

Bug
Category: Build System
Status: Invalid

### Description The following code leaks memory when observed: ```php call($object); } ``` To reproduce, run with `php -dzend_test.observer.enabled=1 -dzend_test.observer.observe_all=1 -dzend_test.observer.show_output=0` and see memory consumption explode. ### PHP Version PHP8.0...

Bug
Category: Engine
Status: Verified