Related Links : Search Engine Optimization | | Search Engine Marketing | Online Marketing | Freelance Programmer| SEO Thailand | SEO Expert | SEO services | PHP Programmer Thailand | SEO Tutorial | What is SEO |

  Home Our SEO Services SEO Expert Consultant Php Programmer Scripts| Email : sachin {at} jainsachin {dot} com

PHP | The ArrayIterator class | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    The ArrayIterator class

    The ArrayIterator class

    Introduction

    This iterator allows to unset and modify values and keys while iterating over Arrays and Objects.

    When you want to iterate over the same array multiple times you need to instanciate ArrayObject and let it create ArrayIterator instances that refer to it either by using foreach or by calling its getIterator() method manually.

    Class synopsis

    ArrayIterator
    class ArrayIterator implements Iterator , Traversable , ArrayAccess , SeekableIterator , Countable {
    /* Methods */
    mixed current ( void )
    mixed key ( void )
    void next ( void )
    void rewind ( void )
    void seek ( int $position )
    bool valid ( void )
    }

    Table of Contents


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin