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 When opcache has no shared memory backend (`handler_table` is empty), `zend_shared_alloc_startup()` returns `NO_SHM_BACKEND` with `smm_shared_globals` still pointing to its local `tmp_shared_globals`. The other early returns (`FAILED_REATTACHED`, `ALLOC_FALLBACK`) reset...

### Description I call every Monday a cronjob at 00:01. I want known the year and week from last week. ```php format('Y'); $week = (int)$dt->format('W'); // After this, I call...

Bug
Extension: date
Status: Needs Triage

### Description After updating from PHP 8.1.25 to 8.1.26 our apache24 servers started to crash from time-to-time on graceful restarts (e.g. after midnight log rotation). Here is the core dump:...

Bug
SAPI: apache2handler
Status: Needs Triage

### Description Interned strings are never flagged UTF-8 if they are already interned and were not flagged on internation. Also update UTF-8 flag after checking for already interned strings. Related...

Feature
Status: Needs Triage

### Description This is a large WordPress website running some commonly available community plugins. The site was working fine on PHP 7.4 but since upgrading to 8.2.6 and then subsequent...

Bug
Status: Cannot Reproduce

### Description The test `ext/sqlite3/tests/sqlite3_bind_bug68849.phpt` fail on x86 arch (32-bits) Previous build (8.2.10RC1) passed but sqlite was 3.42.0 (current is 3.43.0) The same test failed building PHP 8.3RC1 so very...

Bug
Extension: sqlite3
Status: Fixed in Third Party Library

### Description **Prepared with an AI assistant (Claude).** The investigation, builds and test runs were executed for real on our servers and the numbers below are the actual outputs; the...

### Description The following code: ```php $value; } } $c = new C; $ao = new ArrayObject($c); unset($ao['prop']); var_dump($c->prop); ``` Resulted in this output: ``` php: Zend/zend_object_handlers.c:838: zval *zend_std_read_property(zend_object *,...

Bug
Status: Needs Triage

PHP 8.5.12 CLI NTS, Homebrew macOS. Minimal reproduction, no framework: ```php try { $pdo = new PDO('sqlite::memory:'); $pdo->query('select * from missing'); } catch (PDOException $e) { $copy = unserialize(serialize($e)); var_dump($e->getCode(),...

### Description The following code: ```php 1, "" => 1, " " => 1, "azure" => 1, "AZURE_CLOUD" => 1, ]; return $validEnvs[strtolower(trim($env))] ?? 1; } } AzureAuthHelper::getAzureEnvironment("unknown"); ``` Resulted...

Bug
Category: JIT
Extension: opcache
Status: Verified