mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
18 lines
247 B
PHP
18 lines
247 B
PHP
--TEST--
|
|
Attempt to free invalid structure (result of ROPE_INIT is not a zval)
|
|
--FILE--
|
|
<?php
|
|
set_error_handler(function () {
|
|
throw new Exception();
|
|
});
|
|
$a = [];
|
|
$b = "";
|
|
try {
|
|
echo "$a$b\n";
|
|
} catch (Exception $ex) {
|
|
}
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|