MyArrayIterator example

EOTXT;
        $this->assertDumpEquals($expected$var);
    }

    public function testArrayIterator()
    {
        $var = new MyArrayIterator([234]);

        $expected = <<<EOTXT Symfony\Component\VarDumper\Tests\Caster\MyArrayIterator { -foo: 123 storage: array:1 [ 0 => 234 ] flag::STD_PROP_LIST: false flag::ARRAY_AS_PROPS: false } EOTXT;
        
Home | Imprint | This part of the site doesn't use cookies.