php_compat
| From: | Aidan Lister | Date: | Sat, 11 Sep 2004 10:26:58 +0000 |
| Subject: | php_compat | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-33347@lists.php.net to get a copy of this message | ||
Hi Devs,
Almost ready for the next release of PHP_Compat, 1.2.0
A lot of people have asked for a "loadVersion" function. I'm unsure as to
how I should implement this... I see a couple of alternatives.
a) loadVersion() simply loads all files in the drivers directory, by
opendir/readiring the list of files.
b) loadVersion() takes an optional version parameter, and loads the
applicable files from a hardcoded (within the method) array of files and php
versions.
Are there any other alternatives? What do you think?