Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-20 Thread Rasmus Lerdorf
Zeev Suraski wrote: At 16:07 20/03/2006, Rasmus Lerdorf wrote: Zeev Suraski wrote: At 18:10 15/03/2006, Rasmus Lerdorf wrote: Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a real

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-20 Thread Dmitry Stogov
Hi Zeev, > -Original Message- > From: Zeev Suraski [mailto:[EMAIL PROTECTED] > Sent: Monday, March 20, 2006 6:20 PM > To: Rasmus Lerdorf > Cc: internals > Subject: Re: [PHP-DEV] auto_globals_jit and > register_argc_argv disconnect > > > At 16:07 20

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-20 Thread Zeev Suraski
At 16:07 20/03/2006, Rasmus Lerdorf wrote: Zeev Suraski wrote: At 18:10 15/03/2006, Rasmus Lerdorf wrote: Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a really high WTF factor. I

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-20 Thread Rasmus Lerdorf
Zeev Suraski wrote: At 18:10 15/03/2006, Rasmus Lerdorf wrote: Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a really high WTF factor. I don't think WTF terminology fits here, as

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-20 Thread Zeev Suraski
At 18:10 15/03/2006, Rasmus Lerdorf wrote: Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a really high WTF factor. I don't think WTF terminology fits here, as it's an extreme case

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-17 Thread Nuno Lopes
By the way, we also have register_long_arrays on by default which also disables jit. So we are still in a position of basically nobody being able to use jit unless they really know what they are doing, or get lucky. Let's just turn register_long_arrays off. They are going away in PHP 6 anywa

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-16 Thread Dmitry Stogov
register_long_arrays cannot work with jit. Dmitry. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Friday, March 17, 2006 4:02 AM > To: Rasmus Lerdorf > Cc: Dmitry Stogov; internals@lists.php.net > Subject: Re: [PHP-DEV] au

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-16 Thread Rasmus Lerdorf
Rasmus Lerdorf wrote: By the way, we also have register_long_arrays on by default which also disables jit. So we are still in a position of basically nobody being able to use jit unless they really know what they are doing, or get lucky. Let's just turn register_long_arrays off. They are goi

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-16 Thread Rasmus Lerdorf
PHP 6 anyway. -Rasmus Dmitry Stogov wrote: diff :) Dmitry. -Original Message- From: Pierre [mailto:[EMAIL PROTECTED] Sent: Thursday, March 16, 2006 10:52 AM To: "Dmitry Stogov" Subject: Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect On Wed, 15 Mar 2006

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-16 Thread Dmitry Stogov
diff :) Dmitry. > -Original Message- > From: Pierre [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 16, 2006 10:52 AM > To: "Dmitry Stogov" > Subject: Re: [PHP-DEV] auto_globals_jit and > register_argc_argv disconnect > > > On Wed, 15 Mar 2

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Pierre
On Wed, 15 Mar 2006 20:28:11 +0300 [EMAIL PROTECTED] ("Dmitry Stogov") wrote: > Understood. > The patch is in attachment. Not here, .txt? --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
Le me know about results of your tests. Then I probably will commit it. Dmitry. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 15, 2006 8:40 PM > To: Dmitry Stogov > Cc: 'internals' > Subject: Re: [P

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Dmitry Stogov wrote: Understood. The patch is in attachment. Looks good. I'll run some tests. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
Understood. The patch is in attachment. Thanks. Dmitry. > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 15, 2006 7:44 PM > To: Dmitry Stogov > Cc: 'internals' > Subject: Re: [PHP-DEV] auto_globals_jit and >

RE: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Dmitry Stogov
L PROTECTED] > Sent: Wednesday, March 15, 2006 7:10 PM > To: internals > Subject: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect > > > Our default config has both auto_globals_jit and register_argc_argv > enabled. However, having register_argc_argv enabled disables

Re: [PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Dmitry Stogov wrote: Hi Rasmus, Why you need "register_argc_argv" in your php.ini? Isn't CLI version sets it by default? I don't really. My point was that it defaults to be on, so when you don't have a php.ini and just stick with the defaults, you will never get jit even though phpinfo will

[PHP-DEV] auto_globals_jit and register_argc_argv disconnect

2006-03-15 Thread Rasmus Lerdorf
Our default config has both auto_globals_jit and register_argc_argv enabled. However, having register_argc_argv enabled disables auto_globals_jit which carries a really high WTF factor. We can fix this by shuffling things around a bit and making 2 calls to php_build_argv. One to populate the