php-src
php-src copied to clipboard
The PHP Interpreter
## Description I have a piece of code that tries to normalise the encoding of incoming strings using `mb_detect_encoding()`. While upgrading to PHP 8.1, I've noticed that a test which...
### Description This is probably considered non-standard usage, but I stumbled over it by accident. The following code: ```php
### Description Hi, ./configure ``...`` --enable-intl=shared make make install Getting this issue while running compiled php on client side ``` PHP Startup: Unable to load dynamic library 'intl.so' (tried: ext/intl.so...
### Description Our software employs a background queue system with automated retries in case of task failures (an Exception being thrown within the task callable). It implements an at-least-once queuing...
### Description We started to get a lot of segfaults recently using PHP 7.4.27 FPM. Every segfault is related to the `mysqlnd` extension and it seems that something goes wrong...
json_decode() native arguments like JSON_OBJECT_AS_ARRAY have the wrong type when using strict type
### Description The following code: ```php string(3) "bar" } [1]=> array(1) { ["foo"]=> string(3) "baz" } [2]=> array(1) { ["foo"]=> string(3) "bal" } } ``` ### PHP Version 8.0 ###...
### Description If you run strftime() on a date in this new year, it still shows 2021 . If I put the date of today (2022-01-04), the bug disappears The...
### Description Redirected there by https://github.com/oerdnj/deb.sury.org/issues/1703 When mods-available INI file, e.g. `/etc/php/8.1/mods-available/opcache.ini`, has no sufficient permission to read by user, PHP CLI ends by segmentation fault. ``` php8.1[5509]: segfault at...
### Description The following code: ```php isCloneable()); $c = new ReflectionClass(A::class); var_dump($c->isCloneable()); ``` Resulted in this output: ``` Fatal error: Uncaught Error: Cannot instantiate enum A in /in/IIhNF:8 Stack trace:...