php-src
php-src copied to clipboard
The PHP Interpreter
### Description When I run php as a local user, I got a segmentation fault. When is run this command as root, it's works fine. ``` kevin@kitt(DEV-CORE):~$ php Segmentation fault...
### Description The following code: ```php
### Description I have such class: ```php
### Description I have a micro service that is watching a FTP directory every N seconds. I noticed on my VM metrics that I had a memory leak somewhere. It...
### Description The following code: ```php ini_set('display_errors', 1); $d = new DOMDocument(); $html = "test1\x0test2"; $d->loadHTML($html); $newHtml = $d->saveHTML(); echo $newHtml; ``` Resulted in this output: ```html test1 ``` But...
From manual page: https://php.net/manual/en/functions.first_class_callable_syntax.php --- Is it possible to have this feature disabled? The docs never mention it, but I encountered a server running PHP 8.1.2 (according to ``echo phpinfo()``)that...
### Description Error while compiling php on cygwin ```shell ./configure --disable-all \ --with-openssl --enable-openssl \ --with-curl \ --with-iconv \ --with-bz2 \ --enable-bcmath \ --enable-pcntl \ --enable-filter \ --enable-session \ --enable-tokenizer...
### Description I dont't have a minimal reproducer for this but an application which is based on sabre/dav running on Windows Server 2016 using IIS Since upgrading from 8.1.2 to...
### Description The test `ext/opcache/tests/jit/assign_dim_op_007.phpt` fails on `PHP-8.1` in Travis. > - if [[ "$ARM64" == 1 ]]; then ./travis/test.sh -d opcache.jit_buffer_size=16M -d opcache.jit=function; fi ```log ========DIFF======== 001+ Segmentation fault...
### Description The mysqli_query function (https://www.php.net/manual/en/mysqli.query.php) is no longer returning false when the table does not exist. In PHP 8.0.16, false is returned, but in PHP 8.1.0 and PHP 8.1.3,...