title: Array values by function
body: <p>Just a two part question about PHP Arrays (I've read through the comments on php.net, but couldn't see any mention of how this might work.)</p>
  
  <p>Can I have an array populated with functions? For example, using Wordpress:</p>
  
  <pre><code>$arr = array(blog_info('name'), blog_info('stylesheet_url'));
  </code></pre>
  
  <p>and if so, are these functions called only when $arr[0] or $arr[1] is called, or once the script reaches the array?</p>