mirror of
https://github.com/php/php-src.git
synced 2024-10-01 14:56:10 +00:00
15 lines
171 B
Plaintext
15 lines
171 B
Plaintext
|
--TEST--
|
||
|
Bug #52534 (var_export array with negative key)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$aArray = array ( -1 => 'Hello');
|
||
|
|
||
|
var_export($aArray);
|
||
|
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
array (
|
||
|
-1 => 'Hello',
|
||
|
)
|