芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/minscoop.com/system/ThirdParty/Kint/Parser/IteratorPlugin.php
name = $class.' Iterator Contents'; $b->access_path = 'iterator_to_array('.$o->access_path.', true)'; $b->depth = $o->depth + 1; $b->hints[] = 'blacklist'; $r = new Representation('Iterator'); $r->contents = [$b]; $o->addRepresentation($r); return; } } $data = \iterator_to_array($var); $base_obj = new Value(); $base_obj->depth = $o->depth; if ($o->access_path) { $base_obj->access_path = 'iterator_to_array('.$o->access_path.')'; } $r = new Representation('Iterator'); $r->contents = $this->parser->parse($data, $base_obj); $r->contents = $r->contents->value->contents; $primary = $o->getRepresentations(); $primary = \reset($primary); if ($primary && $primary === $o->value && [] === $primary->contents) { $o->addRepresentation($r, 0); } else { $o->addRepresentation($r); } } }