what about require()

  • Anonymous

    Anonymous - 2003-07-02

    I tested a litte script where where I include(test1.php) and require(test2.php) .

    ussing mmcache shows me, that there is only test1.php in cache, but not test2.php ..

    is this a bug or a feature ? I didnt found anything in documentation, readmes .. thanx a lot ..

    • Dmitry Stogov

      Dmitry Stogov - 2003-07-02

      require() works fine like include(). The file should be int the cache. May be it is cached on disk only (in this case mmcache.php will not show it). Try to clear the cache and reload the script. Look into error_log may be the script is not cached because of error.


Log in to post a comment.