On Mon, 13 Jan 2003, Brian T. Allen wrote:

> If a hash file were used it would only have to "search" for the function
> once, and even then only in the functions directory (like the include
> directory, but specifically for functions).  After that the order would
> be:
> 
> 1) Execute the function
> 2) If the function doesn't exist check the hash file and include it
> 3) If it's not in the hash file search for it, include it, then hash it
> 4) If it can't be found issue an error message

quoting G.S.:

"i think php should be smart enough to recognize my typos and
 then include the appropriate library for any function call I make.  
 Unless I include it from two places, in which case it should always
 choose the file on the left."

"Oh, and I just realized that in some countries code inclusion is right
 handed (britain, singapore, australia and brunei I believe).  Do you
 think you could incorporate LOCALE support into the auto-includer to
 appropriately choose the right file except in non-leftist countries?"

Derick

-- 

-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/ 
 PHP Magazine - PHP Magazine for Professionals       http://php-mag.net/
-------------------------------------------------------------------------


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to