title: What is the best way to do a reference to a function in PHP?
body: <p>Let's say I can call a method like this: <code>core::get()</code>. What is the best way to reference to this method? Everytime I call a function called <code>get</code> it should call <code>core::get()</code> and pass the same parameters.</p>
  
  <p>All I could come up with was this:</p>
  
  <pre><code>function get(){
      call_user_func_array('core::get', func_get_args());
  }
  </code></pre>
  
  <p>But it doesn't look very elegant if I compare it to the way I'd solve this in JavaScript:</p>
  
  <pre><code>var get = core.get;
  </code></pre>
  
  <p>I'm sure I missed something in PHP, so does anybody has a better solution for this?</p>