[PHP-DEV] Feature ./ correction to design flaw request

2002-10-10 Thread Nick Lindridge
Hello, Although most globals are correctly handled in PHP for thread safety, the zend_execute and zend_compile_file hooks are not given slots in any TS memory. It would be beneficial to correctly give these globals TS slots. n. -- PHP Development Mailing List To unsub

Re: [PHP-DEV] Feature ./ correction to design flaw request

2002-10-14 Thread Nick Lindridge
>why would one want to have different executors/compilers in >different threads? I can't answer this question Thies, and one could achieve it as-is by having a thread safe delegator, but as far as possible I'd suggest that publicly exposed features of the engine should work across support

Re: [PHP-DEV] Feature ./ correction to design flaw request

2002-10-14 Thread Nick Lindridge
> One reason would be to allow for a product like APD to do JIT swapping > of executors to enable tracing on demand. I imagine you could come up > with a clever way of letting Zend (En|De)coder be used for oly > prticular clients in a large vhosting operation as well (although I > don't really

Re: [PHP-DEV] Feature ./ correction to design flaw request

2002-10-14 Thread Nick Lindridge
>>Bingo! Well done George :) Nice to see someone thinking beyond their >>bubble. > > Thanks for the compliment. Andi=>George ? Didn't understand the email, but George showed some ideas where one might change the hooks and I applaud his insight. Not the ideas that I had in mind, but shows that o

[PHP-DEV] session_set_cookie_params broken in 4.0.6

2001-07-15 Thread Nick Lindridge
The web site bugs list reported an error "Warning: Could not execute mail delivery program in /local/Web/sites/phpweb/bugs.php on line 101" so I'm posting manually. rom: [EMAIL PROTECTED] Operating system: PHP version: 4.0.6 PHP Bug Type: Session related Bug descrip

[PHP-DEV] Re: Bug #12560 Updated: 'parent' incorrectly refers to $this in certain cases

2001-10-22 Thread Nick Lindridge
On Mon, Oct 22, 2001 at 12:03:59AM -, Bug Database wrote: > ID: 12560 > Updated by: sniper > Reported By: [EMAIL PROTECTED] > Old Status: Open > Status: Closed > Bug Type: Class/Object related > Operating System: Solaris 2.7 > PHP Version: 4.0.6 > New Comment: > > Works for me just fine with

[PHP-DEV] Re: Bug #12566 Updated: Cascaded ternaries evaluate incorrectly

2001-08-04 Thread Nick Lindridge
Fair enough :-) In which case there is a documentation bug, and the paragraph: another conditional operator is the "?:" (or ternary) operator, which operates as in C and many other languages. might perhaps read better: another conditional operator is the "?:" (or ternary) oper

[PHP-DEV] Re: Bug #12578 Updated: Segfault with vanilla php in apache

2001-08-05 Thread Nick Lindridge
Hi Rasmus, Sorry but no for this one. I've been emailing with Andi for a bit, and I'm trawling through with gdb. It's very bizarre, and looks like just a symptom of some general memory corruption at the moment. I'm not sure that array_reduce is itself to blame. Any number of minor changes stop

[PHP-DEV] Re: Bug #12575 Updated: Session register & destroy flaws/bugs(?)

2001-08-05 Thread Nick Lindridge
I think that your comments are a fair point, but given that session_start() will create or open/restore a previous session, affecting state of the script that's directly related to session state, surely session_destroy() should do the converse, destroying the backend and also the program state th

[PHP-DEV] Re: Bug #12578 Updated: Segfault with vanilla php in apache

2001-08-05 Thread Nick Lindridge
I've provided a single script to Andi that blows up. I started simplifiying from the other end of the app and that was successful. It's still around 250 lines so I won't include it here but please email me direct if you'ld like a copy to work with. Good luck with this and lets hope this gets b