Closed matheusb-comp closed 2 years ago
@matheusb-comp Thank you for reporting, I can indeed reproduce the problem you're seeing provided all of the following prerequisites are met:
ext-sockets
is not available (installed by default on most platforms) andset_error_handler()
)I've started looking into this and will file a PR as soon as time permits coming up with some reproducible test cases. Expect an update no later than a week or two.
In the meantime, it should be easy enough to work around this by making sure any of the items from the above list are no longer true, e.g. by installing ext-sockets
.
ext-sockets
is not available (installed by default on most platforms)
The code is running inside a Docker container that does not have the sockets
module by default.
Thanks for the help, after installing the module it no longer fails.
$ docker run --rm -it --entrypoint sh php:7-fpm-alpine /var/www/html # php -m [PHP Modules] Core ctype curl date dom fileinfo filter ftp hash iconv json libxml mbstring mysqlnd openssl pcre PDO pdo_sqlite Phar posix readline Reflection session SimpleXML sodium SPL sqlite3 standard tokenizer xml xmlreader xmlwriter zlib [Zend Modules]
I'm receiving the following error in this line:
The
$error
isnull
, but I have no idea why. I'm using another library that depends on this one indirectly.The composer require tree:
PHP version: