title: eval() does not return the function results
body: <p>I have a method name that is stored in a column in the DB that looks like this:</p>
  
  <pre><code>customs::nicknames($data)
  </code></pre>
  
  <p>This is the related class:</p>
  
  <pre><code>    class customs extends service {
  
      function __construct() {
          parent::__construct();
      }
  
      public static function nicknames($data) {
          return $data;
      }
  
  }
  </code></pre>
  
  <p>When I call it in this way:</p>
  
  <pre><code>$merge = eval($error['custom'] . ';');
  </code></pre>
  
  <p>The contents of the $data variable is not returned.
  Just to give it a try I tried with <code>echo</code> and it is correctly returning the array to string conversion php error.
  So the variable <code>$data</code> is read correctly. But why does not it return anything?</p>
  
  <p>If I try to call this method without using <code>eval()</code> like this:</p>
  
  <pre><code>$merge = customs::nicknames($data);
  </code></pre>
  
  <p>The <code>$data</code> is returned correctly.</p>
  
  <p>So what's wrong?</p>
  
  <p>Why <code>eval()</code> is not able to return the method results? How can I solve this issue?</p>