nette/nette — pull request #645 by xpavp03 (2012-05-09 20:47:04+00:00)
Title: dumpPhp: Fix for a bug in dumping associative arrays with numerical keys that are out of order

Example of an array that would be dumped with wrong keys:
```
$myarray = array(
9 => array('9'),
2 => array('2'),
3 => array('3'),
);
```
It would be dumped as
```
array(
9 => array(
'9',
),
2 => array(
'2',
),
array(
'3',
),
)
```
The error is in the last key - this definition would assign 10 to the last key.
```
var_export(array(
9 => array(
'9',
),
2 => array(
'2',
),
array(
'3',
),
));
```
gives:
```
array (
9 =>
array (
0 => '9',
),
2 =>
array (
0 => '2',
),
10 =>
array (
0 => '3',
),
)
```