PHP Classes

You don't want to scan an entire directory each time you load...

Recommend this page to a friend!

      PHP Autoloading with namespaces  >  All threads  >  You don't want to scan an entire...  >  (Un) Subscribe thread alerts  
Subject:You don't want to scan an entire...
Summary:Package rating comment
Messages:1
Author:Victor Jonsson
Date:2012-05-28 12:30:50
 

Victor Jonsson rated this package as follows:

Utility: Not sure
Consistency: Sufficient

  1. You don't want to scan an entire...   Reply   Report abuse  
Picture of Victor Jonsson Victor Jonsson - 2012-05-28 12:30:50
You don't want to scan an entire directory each time you load a class. Larger projects may have hundreds of classes getting loaded. Use stream_resolve_include_path and you code will have no interaction with disk what so ever.