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 | Move to next entry | Manual | Tutorial | Help

SEO Services



Website Programming in PHP / MYSQL



Friends


    Move to next entry

    ArrayIterator::next

    (PHP 5)

    ArrayIterator::next — Move to next entry

    Description

    void ArrayIterator::next ( void )

    The iterator to the next entry.

    Parameters

    This function has no parameters.

    Return Values

    No value is returned.

    Examples

    Example #1 ArrayIterator::next() example

    <?php
    $arrayobject 
    = new ArrayObject();

    $arrayobject[] = 'zero';
    $arrayobject[] = 'one';

    $iterator $arrayobject->getIterator();

    while(
    $iterator->valid()) {
        echo 
    $iterator->key() . ' => ' $iterator->current() . "\n";

        
    $iterator->next();
    }
    ?>

    The above example will output:

    0 => zero
    1 => one
    


    SEO Tutorial / Articles





    Php / Mysql Tutorial



    Articles



      Portfolio


      SEO by Jainsachin