xref: /PHP-8.1/ext/standard/tests/array/bug52534.phpt (revision 1e17bb2a)
1--TEST--
2Bug #52534 (var_export array with negative key)
3--FILE--
4<?php
5
6$aArray = array ( -1 => 'Hello');
7
8var_export($aArray);
9
10?>
11--EXPECT--
12array (
13  -1 => 'Hello',
14)
15