summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/bug52534.phpt
blob: dfff3fdb4f16921e3b53ccd83dcf0b7c0e07d5e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #52534 (var_export array with negative key)
--FILE--
<?php

$aArray = array ( -1 => 'Hello');

var_export($aArray);

?>
--EXPECT--
array (
  -1 => 'Hello',
)