Re: [PHP-DEV] Mod Deinit Not Called if Bad Cmdline Option

2006-06-13 Thread Michael B Allen
On Tue, 13 Jun 2006 05:45:26 +0200 "Steph Fox" <[EMAIL PROTECTED]> wrote: > Actually it's not true either... what made you think that, Michael? Care to > describe what you're seeing? Consider the following php script: #!/usr/bin/php -q -c foo http://www.ioplex.com/ -- PHP Internals - PHP

Re: [PHP-DEV] Extending SAPI specific php.ini to include, at least,major version.

2006-06-13 Thread Richard Quadling
Sorry. I forgot to mention, I'm talking about the Windows pre-compiled versions of PHP. With Sambar Server, only the dll is recorded. There is no opportunity to supply any additional parameters. Another alternative would be to allow the single INI file have PHP5 and PHP6 entries. Essentially

Re: [PHP-DEV] PHP6 broken

2006-06-13 Thread Hannes Magnusson
He has, and I've committed it already -Hannes On 6/13/06, Dmitry Stogov <[EMAIL PROTECTED]> wrote: I think Marcus is the best person to review your patch. Dmitry. > -Original Message- > From: Hannes Magnusson [mailto:[EMAIL PROTECTED] > Sent: Friday, June 09, 2006 7:06 PM > To: Dmitry

Re: [PHP-DEV] Unexpected character in input

2006-06-13 Thread Sebastian Bergmann
Sebastian Bergmann wrote: > Any idea what is going wrong here? Sorry for the noise, it turned out that is caused by escape sequences in the code that my code analyzes using token_get_all(). -- Sebastian Bergmann http://www.sebastian-bergmann.de/ GnuPG Key: 0xB85B5D69 / 27A

RE: [PHP-DEV] Re: [PATCH] Automatic module globals management

2006-06-13 Thread Dmitry Stogov
Steph, I don't understand your patch. (It doesn't compile without my patch and doesn't need with it). Why you don't just call ts_free_id(*module->globals_id_ptr) and do so large extra work? Why you free globals for external extensions and not for internals? Thanks. Dmitry. > -Original Me

[PHP-DEV] CVS Account Request: erinet

2006-06-13 Thread Per Eriksson
Maintaining the documentation (english, but also swedish translation) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] Re: [PATCH] Automatic module globals management

2006-06-13 Thread Steph Fox
Dmitry, hi, It only doesn't compile without your patch because you changed the module structure in your patch :) It compiles fine if you check for something that exists in 5_2 already instead of checking for something that will exist next week. It needs 'with it' to prevent crashes that win

RE: [PHP-DEV] Re: [PATCH] Automatic module globals management

2006-06-13 Thread Dmitry Stogov
> -Original Message- > From: Steph Fox [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 6:24 PM > To: Dmitry Stogov; 'Stanislav Malyshev' > Cc: internals@lists.php.net > Subject: Re: [PHP-DEV] Re: [PATCH] Automatic module globals management > > > Dmitry, hi, > > It only doesn'

Re: [PHP-DEV] Re: [PATCH] Automatic module globals management

2006-06-13 Thread Steph Fox
Hi, It only doesn't compile without your patch because you changed the module structure in your patch :) It compiles fine if you check for something that exists in 5_2 already instead of checking for something that will exist next week. PHP_5_2 hasn't "globals_id_ptr". And nobody set "glo

Re: [PHP-DEV] Mod Deinit Not Called if Bad Cmdline Option [PATCH]

2006-06-13 Thread Steph Fox
Hi Michael, Actually it's not true either... what made you think that, Michael? Care to describe what you're seeing? Consider the following php script: #!/usr/bin/php -q -c foo No, the script is reached OK - it's just that Zend thinks your php.ini filepath is 'foo' as well as your file,

[PHP-DEV] Last patch breaks ODBC

2006-06-13 Thread Frank M. Kromann
Hi Dmitry, Your last module cleanup patch seams to break compilation on ext/odbc/php_udbc.c. Would it be safe to reverrt this? The odbc module does not use global variables. - Frank cvs diff -u -- php_odbc.c (in directory C:\PHP\php6\ext\odbc\) Index: php_odbc.c

[PHP-DEV] CVS Account Request: ifeghali

2006-06-13 Thread Igor Feghali
I had my proposal about PEAR::MDB2_Schema accepted on SoC 2006. Lukas and Pierre told to request an account here to be able to commit what I already did in pear and peardoc. I also already introduced myself to the pear-dev list: http://www.beeblex.com/lists/index.php/php.pear.dev/42646 -- PHP

[PHP-DEV] [PATCH] sane fix for "php -c" when users do it all wrong

2006-06-13 Thread Steph Fox
Please can someone either apply this or give me a good reason not to? Diffs are against PHP_5_2. Please say if you need them specifically for other branches. - Steph Index: sapi/cgi/cgi_main.c === RCS file: /repository/php-src/s

Re: [PHP-DEV] [PATCH] sane fix for "php -c" when users do it all wrong

2006-06-13 Thread Andi Gutmans
Looks a bit weird. Can you explain the logic you are catching here? Andi At 07:02 PM 6/13/2006, Steph Fox wrote: Please can someone either apply this or give me a good reason not to? Diffs are against PHP_5_2. Please say if you need them specifically for other branches. - Steph -- PHP Int

[PHP-DEV] RE: Last patch breaks ODBC

2006-06-13 Thread Dmitry Stogov
Thank you for catching me. Fixed. Thanks. Dmitry. > -Original Message- > From: Frank M. Kromann [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 13, 2006 11:20 PM > To: [EMAIL PROTECTED] > Cc: internals@lists.php.net > Subject: Last patch breaks ODBC > > > Hi Dmitry, > > Your last modu