php-src
php-src copied to clipboard
The PHP Interpreter
## Description phpdbg's `-p` option prints the opcodes of the main script, its functions, and the methods of its classes. It does not print the opcodes of property hooks (PHP...
### Description Is it reasonable to hope that the illogical behavior of the `empty()` will one day be corrected? ``` var_dump(empty(null)); // bool(true) var_dump(empty('')); // bool(true) var_dump(empty('0')); // bool(true)
### Description **This is not a new bug and not my finding.** It is GH-23106, fixed in 8.4.27 / 8.5.12 and credited to Lazizbek Ergashev: > Fixed bug GH-23106 (`mb_strpos()`...
### Description `imagesettile()` passes the libgd pointer of the tile to `gdImageSetTile()` without keeping a reference to the tile object. Once the tile `GdImage` is freed, the image keeps a...
### Description Onimuruma was ended on 2025-04-24. https://github.com/kkos/oniguruma This library uses mbregex in php-src. How do we do that? I send internal mailing list too.
### Description The following code: ```php
### Description https://github.com/php/php-src/actions/runs/20119044115/job/57735104285 Given this succeeds in debug builds, this might be: - Undefined behavior in php-src - A miscompilation in (Apple) Clang UBSan did not report any issues, though...
### Description Doing the following: ```bash hans@DESKTOP-EE15SLU:~/projects/php-src$ git log -1 commit da6a4e799aafdf33c8701fcdd632d646f61e612e (HEAD -> master, origin/master, origin/HEAD) Merge: 1cc0a16752 ae44ab47a7 Author: Jakub Zelenka Date: Sun Feb 4 12:01:09 2024 +0000...
### Description The following code: ```php parent::$d::get(); } } class GC extends C { public int $d { get => parent::$d::get(); } } var_dump((new GC)->d); ``` Resulted in this output:...
### Description Building last tagged RC2 introduced new failure https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/51482 ``` ========DIFF======== -- Encoding AVIF with illegal speed: ok Encoding AVIF losslessly... ok Decoding the AVIF we just wrote... -...