mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
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)
|