Afficher un message
Vieux 17/09/2007, 21h36   #9
Steve
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Accessing Class Method

> Btw. Try to write an OO application in a manner that would not require
> the require_once statement, but rather a plain require. In part,
> because it's faster, but mainly because it will force you to write
> your applications in a much straightforward manner. Maybe
> straightforward isn't the word here, but I'm tired as hell...


if both main_class and html require dal.php and could be used in the same
script, require_once is better and produces less parsing in php...and is
therefore faster than php having to check if it loaded a file already or
not. THAT is straightforward...probably not the word you're looking for.


  Réponse avec citation
 
Page generated in 0,04195 seconds with 9 queries