mirror of
https://github.com/php/php-src.git
synced 2026-04-25 00:48:25 +02:00
cc93bbb765
The request shutdown does not necessarily hold the last reference, if there is still a CV that refers to the array. Closes GH-19405.
12 lines
249 B
PHP
12 lines
249 B
PHP
--TEST--
|
|
GH-19397 (mb_list_encodings() can cause crashes on shutdown)
|
|
--EXTENSIONS--
|
|
mbstring
|
|
--FILE--
|
|
<?php
|
|
$doNotDeleteThisVariableAssignment = mb_list_encodings();
|
|
var_dump(count($doNotDeleteThisVariableAssignment) > 0);
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|