Open czoIg opened 2 months ago
We also encountered this problem. PHP 8.3 has new feature and tries to detect the recursion. This feature likely doesn't work correctly with the gRPC PHP extension.
The workaround is to disable stack size checks in the PHP INI settings:
zend.max_allowed_stack_size: -1
.
We also encounter this issue, incidentally. The possibility of disabling the stack size check, and avoiding the occurrence of the Error, does not mean the code works properly/efficiently. The comment in CredentialsWrapper::getAuthorizationHeaderCallback
, where our infinite recursion errors originate, also suggests awareness about error-prone logic.
Happens thousands of times per day on my side.
Same issue here, happens with gax 1.34.[01] on php 8.3 with swoole/grpc.
Still an issue with gax 1.35.0 on php 8.3
Environment details
Steps to reproduce
Code example
Exception trace