@@ 562-573 (lines=12) @@ | ||
559 | // array object |
|
560 | $objtype = $char; |
|
561 | ++$offset; |
|
562 | if ($char == '[') { |
|
563 | // get array content |
|
564 | $objval = array(); |
|
565 | do { |
|
566 | // get element |
|
567 | $element = $this->getRawObject($offset); |
|
568 | $offset = $element[2]; |
|
569 | $objval[] = $element; |
|
570 | } while ($element[0] != ']'); |
|
571 | // remove closing delimiter |
|
572 | array_pop($objval); |
|
573 | } |
|
574 | break; |
|
575 | } |
|
576 | case '<': // \x3C LESS-THAN SIGN |
|
@@ 582-593 (lines=12) @@ | ||
579 | // dictionary object |
|
580 | $objtype = $char.$char; |
|
581 | $offset += 2; |
|
582 | if ($char == '<') { |
|
583 | // get array content |
|
584 | $objval = array(); |
|
585 | do { |
|
586 | // get element |
|
587 | $element = $this->getRawObject($offset); |
|
588 | $offset = $element[2]; |
|
589 | $objval[] = $element; |
|
590 | } while ($element[0] != '>>'); |
|
591 | // remove closing delimiter |
|
592 | array_pop($objval); |
|
593 | } |
|
594 | } else { |
|
595 | // hexadecimal string object |
|
596 | $objtype = $char; |