php-src
php-src copied to clipboard
The PHP Interpreter
### Description see https://github.com/docker-library/php/pull/1076, the issue is described at https://github.com/docker-library/php/pull/1076#issuecomment-733965227 I expect all bundled exts to be ZTS compatible on every linux platform, incl. Alpine. ### PHP Version 8.0, 8.1,...
### Description version:php 7.4.27 file: SAPI.c function: sapi_send_headers code: ``` if (sapi_module.send_headers) { retval = sapi_module.send_headers(&SG(sapi_headers)); } else { retval = SAPI_HEADER_DO_SEND; } switch (retval) { case SAPI_HEADER_DO_SEND: { .........
### Description Using `monolog/monolog` on PHP8.1.3 results in some very weird problems with the class `vendor/monolog/monolog/src/Monolog/DateTimeImmutable.php` not being found. There's also already a bugreport in monolog https://github.com/Seldaek/monolog/issues/1626, but it looks...
### Description Consider this curl code in C: ``` int counter = 0; size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userdata) { if (counter++ == 1) { return 0;...
### Description An original weird behavior was found in doctrine/persistence/lib/Doctrine/Persistence/Mapping/Driver/AnnotationDriver.php, but is related to php base classes. I have 47 files, but this code finds only one of them. To...
### Description Opcache & JIT status is major information (together with the php version) for figuring out php issues. A lot of projects use `php --version` cmd to dump the...
### Description The following code: ``` $numero = (double)15230; $numero2 = (double)152.30*100; $numero3 = (double)15240; $numero4 = (double)152.40*100; echo "[".gettype($numero)."] ceil(".$numero.") = ".ceil($numero); //[double] ceil(15230) = 15230 echo ""; echo...
### Description `ARG_ENABLE('debug', ...);` is defined in two places: `phpize.js.in` and `config.w32.phpize.in`. It makes user not possible to activate `--enable-debug` on `configure`ing an extension because the latter definition overwrites `PHP_DEBUG`...
### Description SysAdmin and DevOps don't need to have logs when healthcheck are set up for checking the availability. To understand why this is relevant, see how today's softwares performs...
### Description ```php