title: 'const' vs. 'static' in PHP
body: <p>In PHP 5 I can declare a <code>const</code> value to a class:</p>
  
  <pre><code>class config
  {
       const mailserver = 'mx.google.com';
  }
  </code></pre>
  
  <p>But I can also declare <code>public static</code>:</p>
  
  <pre><code>class config
  {
       public static $mailserver = 'mx.google.com';
  }
  </code></pre>
  
  <p>In case of a configuration file which I will later use, like:</p>
  
  <pre><code>imap_connect(config::$mailserver ...
  imap_connect(config::mailserver ...
  </code></pre>
  
  <p>Which of the options do you think is better to be used? (Faster, less memory load, etc...)</p>