[php-src] Issue #22285: PHP 8.5 Soap server requires the raw input to be passed to $server->handle

From: Date: Fri, 12 Jun 2026 06:08:07 +0000
Subject: [php-src] Issue #22285: PHP 8.5 Soap server requires the raw input to be passed to $server->handle
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-252184@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/22285 Author: jahyvari ### Description The following code: ```php <?php $server->handle(); ``` Is working with PHP 8.4. But with PHP 8.5 I had to change it to: ```php <?php $server->handle(file_get_contents("php://input")); ``` Without it, the server is not handling the incoming requests. Could it be some kind of rewind issue, since the code is reading the php input before the handle function is called, to do custom Schema validation. ### PHP Version ```plain PHP 8.5.7 (cli) (built: Jun 2 2026 20:59:56) (NTS gcc x86_64) Copyright (c) The PHP Group Built by Remi's RPM repository <https://rpms.remirepo.net/> #StandWithUkraine Zend Engine v4.5.7, Copyright (c) Zend Technologies with Zend OPcache v8.5.7, Copyright (c), by Zend Technologies ``` ### Operating System _No response_

« previous php.bugs (#252184) next »