We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zend.exception_ignore_args=1
The following code:
<?php ini_set('zend.exception_ignore_args', '1'); try { match (1) { }; } catch (Error $e) { echo $e->getMessage(), PHP_EOL; } try { match ("foo bar baz foo bar baz") { }; } catch (Error $e) { echo $e->getMessage(), PHP_EOL; }
https://3v4l.org/Xen86
Resulted in this output:
Unhandled match case 1 Unhandled match case 'foo bar baz foo...'
But I expected this output instead:
Unhandled match case of type int Unhandled match case of type string
PHP 8.1.0 - PHP 8.4.3
No response
The text was updated successfully, but these errors were encountered:
Spun out of #17601, after I got the (private) feedback, that this should be considered a bug.
Sorry, something went wrong.
zend_execute: Suppress values in UnhandledMatchError for `zend.exce…
UnhandledMatchError
ad26aba
…ption_ignore_args=1` Fixes php#17618.
exception_string_param_max_len=0
f8b57ff
No branches or pull requests
Description
The following code:
https://3v4l.org/Xen86
Resulted in this output:
But I expected this output instead:
PHP Version
PHP 8.1.0 - PHP 8.4.3
Operating System
No response
The text was updated successfully, but these errors were encountered: