php-src
php-src copied to clipboard
The PHP Interpreter
### Description ### Description After upgrading to PHP 8.5.9, I am seeing apparent OPcache corruption under PHP-FPM where PHP executes a different internal function than the one present in the...
### Description The following code (https://3v4l.org/8QBeN): ```php int(1) } array(1) { [0]=> int(1) } ``` But I expected this output instead: ``` array(1) { [0]=> &int(1) } array(1) { [0]=>...
### Description PHP config: https://paste.daniil.it/config This is happening in a pcntl_forked process (as for the other segfaults I submitted recently). I can DM a full coredump if needed. ref: compressed_coredump-php.78197.1688713825...
### Description We're using guzzlehttp/guzzle 7.5.0. PHP config: https://paste.daniil.it/config gdb backtrace: ``` (gdb) backtrace #0 0x000056330533d16a in ZEND_ASSIGN_OBJ_SPEC_UNUSED_CONST_OP_DATA_CV_HANDLER () at ./Zend/zend_vm_execute.h:32960 #1 0x000056330534b898 in execute_ex (ex=0x50) at ./Zend/zend_vm_execute.h:58929 #2 0x000056330536bc5c...
installing oci8 extension through pecl sudo pecl -d php_suffix=8.1 install oci8 In function ‘php_oci_column_to_zval’: /tmp/pear/temp/oci8/oci8.c:1708:72: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘zend_long’ {aka...
### Description The latest version of PHP 7.4 for Windows does not include the Apache dll module (e.g. `php7apache2_4.dll`). Seriously? 🙄︀ ### PHP Version 7.4 ### Operating System Windows
### Description The README currently says: > Bug fixes **do not** require an RFC but require a bug tracker ticket. Open a > ticket at [bugs.php.net](https://bugs.php.net) and reference the bug...
### Description There is currently no way to determine if an expression or variable is of type "enum" (or I don't know how). Since "enum" is a new data type,...
enums
### Description Hello! There seems to be no way to get the string representation of an instance of an enum, except with `var_export()` ```php enum Foo: string { case Bar...
### Description For example, `__DIR__` contain [symfony/console](https://github.com/symfony/console). ```php