mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
4c38a79f09
Fixes GH-11108 Closes GH-11109
12 lines
289 B
PHP
12 lines
289 B
PHP
--TEST--
|
|
GH-11108: Incorrect CG(memoize_mode) state after bailout in ??=
|
|
--FILE--
|
|
<?php
|
|
register_shutdown_function(function() {
|
|
include __DIR__ . '/gh11108_shutdown.inc';
|
|
});
|
|
include __DIR__ . '/gh11108_test.inc';
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use [] for reading in %s on line %d
|