<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Jul 25, 2008 at 8:41 PM, David Lutterkort <span dir="ltr"><<a href="mailto:dlutter@redhat.com">dlutter@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, 2008-07-25 at 13:22 +0200, <a href="mailto:raphink@gmail.com">raphink@gmail.com</a> wrote:<br>
> # HG changeset patch<br>
> # User Raphael Pinson <<a href="mailto:raphink@gmail.com">raphink@gmail.com</a>><br>
> # Date 1216984947 -7200<br>
> # Node ID 86411abff2eec6aa4364b7d3f43fe2e94e3ab31c<br>
> # Parent  a7d566eaab75da9bb533f9c0bc0bd00c4a89caee<br>
> Add PHP module and associated (basic) test file<br>
<br>
</div><div class="Ih2E3d">> +<br>
> +   test PHP.lns get conf = ?<br>
<br>
</div>The test seems not quite finished.<br>
<br>
Also, did you observe that augparse runs _really_ slow with that lens ?<br>
It seems to allocate a _ton_ of memory. Seems like we need to do some<br>
optimizations somewhere to keep that at bay.<br>
<font color="#888888"></font></blockquote><div><br>Very slow indeed. Maybe the tip you gave me on dput.aug would improve
this. The fact is that php.aug has _tons_ of keywords. I'm not even
sure to have listed them all. since it seems that PHP modules might
allow more here...<br>
<br>There's another problem though. As I was working on this file, it
seems logical to me to treat it as a standard INI file, with sections
and variables. Now I was surprised to find that variables have a naming
space in them, such that most variables exist several times in
different naming spaces (e.g. (ifx,msql,mssql,mysql,mysqli,<div>odbc,pgsql,etc.).allow_persistent.
After noticing that, I wondered if the sections in php.ini were
_really_ useful. If the were, what would be the use of adding a naming
space to the variable names? So I talked with a few of my colleagues
that are used to php.ini, and they told me that PHP seems to completely
ignore the sections in php.ini, such that moving variables around has
no effect on the configuration. In that situation. should we consider
sections as comments, seeing that it would be hard to move values
around if we use standard INI file sections?<br>
<br><br>Raphael<br><br> </div> </div></div><br></div>