mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
ae3ab37816
This is the same bug as GH-16957, and fixed in the same way. Closes GH-17448.
13 lines
195 B
PHP
13 lines
195 B
PHP
--TEST--
|
|
GH-17447 (Assertion failure when array poping a self addressing variable)
|
|
--FILE--
|
|
<?php
|
|
$input[] = &$input;
|
|
var_dump(array_pop($input), $input);
|
|
?>
|
|
--EXPECT--
|
|
array(0) {
|
|
}
|
|
array(0) {
|
|
}
|