php-src/Zend/tests/temporary_cleaning_015.phpt

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