[php-src] Issue #14714: match method when not match code exit but not report
| From: | zmddd | Date: | Sat, 29 Jun 2024 09:25:59 +0000 |
| Subject: | [php-src] Issue #14714: match method when not match code exit but not report | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-247178@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/14714
Author: zmddd
### Description
The following code:
```php
<?php
match('d'){
'a'=>1,
'b'=>2
'c'=>3
}
Resulted in this output:
nothing but code exit
But I expected this output instead:
have some report like "don't match"
### PHP Version
PHP 8.0.12
### Operating System
Ubuntu 20.24