~legolas/ubuntu/natty/php5/5.3.5

« back to all changes in this revision

Viewing changes to ext/standard/tests/array/bug52534.phpt

  • Committer: Stas Verberkt
  • Date: 2011-02-01 09:27:15 UTC
  • Revision ID: legolas@legolasweb.nl-20110201092715-yq052iu2yl4i2eyg
Inserted PHP 5.3.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
Bug #52534 (var_export array with negative key)
 
3
--FILE--
 
4
<?php
 
5
 
 
6
$aArray = array ( -1 => 'Hello');
 
7
 
 
8
var_export($aArray);
 
9
 
 
10
?>
 
11
--EXPECT--
 
12
array (
 
13
  -1 => 'Hello',
 
14
)