[php-src] Issue #19550: repeated warning msgs are omitted when jit
| From: | YuanchengJiang | Date: | Fri, 22 Aug 2025 04:36:40 +0000 |
| Subject: | [php-src] Issue #19550: repeated warning msgs are omitted when jit | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250598@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/19550
Author: YuanchengJiang
### Description
The following code:
```php
<?php
require __DIR__ . '/warning_replay.inc';
require __DIR__ . '/warning_replay.inc';
```
warning_replay.inc:
```php
<?php
declare(unknown=1);
```
Resulted in this output without JIT:
```
Warning: Unsupported declare 'unknown' in /tmp/warning_replay.inc on line 3
Warning: Unsupported declare 'unknown' in /tmp/warning_replay.inc on line 3
```
Resulted in this output with JIT:
```
Warning: Unsupported declare 'unknown' in /tmp/warning_replay.inc on line 3
```
Not sure if it is expected
### PHP Version
```plain
nightly
```
### Operating System
_No response_