1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/standard/tests/array/extract_negative_keys2.phpt
2025-11-19 20:41:48 +00:00

12 lines
162 B
PHP

--TEST--
extract() with negative keys
--FILE--
<?php
$arr = [-1 => "foo"];
var_dump(extract($arr, EXTR_PREFIX_ALL | EXTR_REFS, "prefix"));
?>
--EXPECT--
int(0)