[php-src] PR #12723: Zend: Add tests for offsets and containers
| From: | Girgias | Date: | Sun, 19 Nov 2023 07:02:04 +0000 |
| Subject: | [php-src] PR #12723: Zend: Add tests for offsets and containers | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24246@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12723
Author: Girgias
This has highlighted some JIT bugs, I think I managed to fix 2 of them, but the following tests are
marked as XFAIL:
```
=====================================================================
EXPECTED FAILED TEST SUMMARY
---------------------------------------------------------------------
Object offset behaviour [Zend/tests/offsets/strings/const_dimension/object_offset_behaviour.phpt]
XFAIL REASON: Object of class stdClass could not be converted to int warning with const offset in
JIT
Object offset behaviour [Zend/tests/offsets/false/const_dimension/object_offset_behaviour.phpt]
XFAIL REASON: Bug Coalesce operator with constant offset emits isset/empty error in JIT
Object offset behaviour [Zend/tests/offsets/arrays/const_dimension/object_offset_behaviour.phpt]
XFAIL REASON: Bug Coalesce operator with constant offset emits isset/empty error in JIT
Object offset behaviour [Zend/tests/offsets/null/const_dimension/object_offset_behaviour.phpt]
XFAIL REASON: Bug Coalesce operator with constant offset emits isset/empty error in JIT
=====================================================================
```
Any suggestion to reduce the test duplication is also welcomed.