hi, On Fri, Feb 13, 2009 at 11:01 PM, David M. Patterson <[email protected]> wrote: > > On Fri, Feb 13, 2009 at 7:31 PM, David M. Patterson < > Unfortunately, standard php.ini entries won't suffice in this case. > The extension's config file will contain indeterminate keys and the normal > php.ini processing requires that all keys be known at compile time (as far > as I can tell).
You can use the ini parser function or its internal equivalent. An example can be found in pecl/hidef (http://cvs.php.net/viewvc.cgi/pecl/hidef/), it is an extension defining custom constants at init time, like core constants. Cheers, -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
