mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
cc9dddea38
Introduced in 8e49d7f32f
.
ZEND_CALL_RELEASE_THIS was previously not handled for internal calls but
just for user calls in the zend_leave_helper.
Closes GH-9884
16 lines
182 B
PHP
16 lines
182 B
PHP
--TEST--
|
|
Fake closure called from internal function leaks
|
|
--FILE--
|
|
<?php
|
|
|
|
$c = \is_array(...);
|
|
var_dump(array_filter([[]], $c));
|
|
|
|
?>
|
|
--EXPECT--
|
|
array(1) {
|
|
[0]=>
|
|
array(0) {
|
|
}
|
|
}
|