Re: Why change require_once? A brief explanation of motives

From: Date: Tue, 17 Jul 2007 09:12:49 +0000
Subject: Re: Why change require_once? A brief explanation of motives
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-47541@lists.php.net to get a copy of this message
Lukas Kahwe Smith wrote:
Hi Alan etc. What are you arguing against? allfiles as a requirement, and any removal of require_once from where they are supposed to be!
Is having to define that __autoload() function really worth not providing this flexibility? Yes - autoload make the code less clear, it makes optimizing code more difficult as it becomes complex to properly analyze code.
I cant imagine how having a 'flexible' way to load a pear file with code in it, would be a great asset.. - Libraries are just supposed to work, not 'might work if you havent broken your autoload code' Regards Alan
regards, Lukas


« previous php.pear.dev (#47541) next »