[php-src] Issue #8358: Interface "DateTimeInterface" not found
| From: | SCIF | Date: | Wed, 13 Apr 2022 09:21:09 +0000 |
| Subject: | [php-src] Issue #8358: Interface "DateTimeInterface" not found | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240916@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8358
Author: SCIF
### Description
Sometimes I can see:

No idea how to reproduce. Looks like just one thread is buggy because the issue is temperamental. I
experienced the same bug in prod (no XDebug comparing to my current setup) but that has
fixed/doesn't fail anymore. These days it reproduces on local machine and I'm happy to
help to debug/narrow down this therefore don't restart docker :).
A bit of info:
```
composer@php:/www/platform$ php -v
PHP 8.1.4 (cli) (built: Mar 18 2022 18:25:47) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.4, Copyright (c) Zend Technologies
with Zend OPcache v8.1.4, Copyright (c), by Zend Technologies
with Xdebug v3.1.3, Copyright (c) 2002-2022, by Derick Rethans
composer@php:/www/platform$ php -m
[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gmp
hash
iconv
igbinary
imagick
intl
json
libxml
mbstring
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
redis
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Xdebug
Zend OPcache
```
### PHP Version
8.1.4
### Operating System
Docker php:8.1-fpm-bullseye