title: How to use a static method as the callback parameter in preg_replace_callback()?
body: <p>I'm using preg_replace_callback to find and replace textual links with live links: </p>
  
  <pre><code>http://www.example.com
  </code></pre>
  
  <p>to </p>
  
  <pre><code>&lt;a href='http://www.example.com'&gt;www.example.com&lt;/a&gt;
  </code></pre>
  
  <p>The callback function I'm providing the function with is within another class, so when I try:</p>
  
  <pre><code>return preg_replace_callback($pattern, "Utilities::LinksCallback", $input);
  </code></pre>
  
  <p>I get an error claiming the function doesn't exist. Any ideas?</p>