After some further tweaking and fprintf-ing, it appears that the second
round of parser print-outs somehow do not rely upon the lexer in
zend_ini_scanner.l.  So I am completely unsure of what is going on.

Is there any documentation that I should read to help me understand this?
(I own and have examined the OReilly Writing Apache Modules book (in case
this was the child processes each parsing the ini file on their own) but to
no avail.)  Is there Zend documentation of the startup process?

dave


-----Original Message-----
From: David Viner [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 18, 2002 3:45 PM
To: Php-Dev@lists. php. net
Subject: [PHP-DEV] ini question


Hi,
        I turned on DEBUG_CFG_PARSER in Zend/zend_ini_parser.y which has the parser
spit out each key-value pair it discovers.  I noticed when I start my
Apache, it actually spits everything out twice.  The first time I know comes
from php_module_startup (called from php_apache_startup which is the init
handler in sapi/apache/mod_php4.c).  What causes the parser to spit out all
the key-value pairs the second time?


dave


--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to