title: Base lambda function for closure not found
body: <p>I'm working with new PHP framework (ofc u can smile :), and sometimes I catch very strange error:</p>
  
  <blockquote>
    <p>Base lambda function for closure not found
    /application/modules/index/controllers/index.php#15</p>
  </blockquote>
  
  <p>I think it's problem with APC extension (I found issue <a href="https://bugs.php.net/bug.php?id=52144" rel="nofollow noreferrer">https://bugs.php.net/bug.php?id=52144</a>).</p>
  
  <p>Simple example of pseudo <strong>index.php</strong></p>
  
  <pre><code>&lt;?php
  
  // get meta information from many controllers
  function getReflectionData() {
      $function_for_get_reflection = require 'controller.php'
  }
  
  // dispatch controller
  function dispatch() {
      $function_to_call = require 'controller.php'
  }
  
  getReflectionData();
  dispatch();
  </code></pre>
  
  <p><strong>controller.php</strong></p>
  
  <pre><code>&lt;?php
  return 
  /**
   * @route /page/{$alias}.html
   */
  function() { /*...*/ }
  </code></pre>
  
  <p>But I not understand how I can avoid this error if APC is enabled :(</p>