1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/gh19839.phpt
Ilija Tovilo f045716288 Fix incorrect HASH_FLAG_HAS_EMPTY_IND flag on userland array
Fixes GH-19839
Closes GH-19851
2025-09-16 13:00:03 +02:00

19 lines
210 B
PHP

--TEST--
GH-19839: Incorrect HASH_FLAG_HAS_EMPTY_IND flag on userland array
--FILE--
<?php
const X = 'x';
$x = null;
unset(${X});
$a = $GLOBALS;
sort($a);
serialize($a);
?>
===DONE===
--EXPECT--
===DONE===