Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of http://github.com/kotas/phpsh into stufffrom…

…github
  • Loading branch information...
commit aed6bda69655eebdcfda36ff8299025ca57ca1e7 2 parents 1f8ad48 + ba2c8e0
adonohue authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/phpsh.php
View
4 src/phpsh.php
@@ -218,6 +218,10 @@ function ___phpsh___parse_dump_obj_lines($x, $dump, &$pos, $arr_len, $depth,
for ($i = 0; $i < $arr_len; $i++) {
___phpsh___parse_dump_assert($dump, $pos, $depth_str.$indent_str.'[');
$key = ___phpsh___parse_dump_delim_grab($dump, $pos, false, '""');
+ if ($dump[$pos] == ':') {
+ $key .= ':' . ___phpsh___parse_dump_delim_grab($dump, $pos, false, ':]');
+ $pos--;
+ }
___phpsh___parse_dump_assert($dump, $pos, "]=>\n".$depth_str.$indent_str);
if ($dump[$pos] == '*') {
___phpsh___parse_dump_assert($dump, $pos, '*RECURSION*');
Please sign in to comment.
Something went wrong with that request. Please try again.