Return the current element key and value, and move the internal pointer forward:


SUBMITTED BY: henry1874w

DATE: June 26, 2017, 5:15 p.m.

FORMAT: Text only

SIZE: 91 Bytes

HITS: 474

  1. <?php
  2. $people = array("Peter", "Joe", "Glenn", "Cleveland");
  3. print_r (each($people));
  4. ?>

comments powered by Disqus