daily pastebin goal
57%
SHARE
TWEET

Untitled

a guest May 19th, 2017 42 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $array = array('foo','bar',baz');
  3. foreach($array as $x) echo $x;
  4. ?>
  5.  
  6. vs
  7.  
  8. <?php
  9. foreach(array('foo','bar',baz') as $x) echo $x
  10. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top