xref: /PHP-8.4/Zend/tests/gh11108.phpt (revision 4c38a79f)
1--TEST--
2GH-11108: Incorrect CG(memoize_mode) state after bailout in ??=
3--FILE--
4<?php
5register_shutdown_function(function() {
6    include __DIR__ . '/gh11108_shutdown.inc';
7});
8include __DIR__ . '/gh11108_test.inc';
9?>
10--EXPECTF--
11Fatal error: Cannot use [] for reading in %s on line %d
12