Re: Mysqli support - test or complain? [SOLVED]

From: Date: Tue, 11 Dec 2007 17:18:54 +0000
Subject: Re: Mysqli support - test or complain? [SOLVED]
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17  Groups: php.general 
Request: Send a blank email to php-general+get-265704@lists.php.net to get a copy of this message
I don't see a reason to compromise. It would take no longer to call extension_loaded on each page request than it will to put the variable in the session. You're right in saying that there's a balance to be struck, but in this particular case I personally see a right way and a wrong way and no compromise needed to do it properly.
I think the "discussion" has moved beyond extension_loaded(), but in that case, yes, personally I would use extension_loaded() directly. Probably in a factory type function which returns the appropriate type of object.
I couldn't care less what your domain name is, you're still advocating a poor choice IMHO.
Practical though. And I'm conscientious as far as business allows. -- Richard Heyes http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software that can cut the cost of online support ** NOW OFFERING FREE ACCOUNTS TO CHARITIES AND NON-PROFITS **

« previous php.general (#265704) next »