Re: [PHP-DEV] Re: php daemons, memory

2009-01-11 Thread Antony Dovgal
On 11.01.2009 03:21, jvlad wrote: > Almost. > Try to compile your very-own-version of php, using configure argument > --disable-zend-memory-manager There is no such configure option since ages. Zend MM can be disabled by setting USE_ZEND_ALLOC env var to 0, but only when --enable-debug is used (s

[PHP-DEV] Re: regression in the new parameter parsing API, 5.3

2009-01-11 Thread Dmitry Stogov
The provided example works fine for me on both Linux and Windows. Thanks. Dmitry. Pierre Joye wrote: > hi, > > The new parameter parser introduced a regression (testing with > 5.3-cvs) on how "z!" is processed. Example code: > > if (0) { > $authns = 1; > $addtl = 1; > } > $result =

[PHP-DEV] ASM Entities php5ts.dll

2009-01-11 Thread Kenan R Sulayman
Hey Folks! I've got a question: In the php5ts.dll. Is this point being used to trace entities, or what? .rdata:10454976 align 4 .rdata:10454978 aX25db '%',0 ; DATA XREF: sub_1031C010+7E o .rdata:1045497F align 10h .rdata:10454980 ; char aXmldu

[PHP-DEV] Re: regression in the new parameter parsing API, 5.3

2009-01-11 Thread Pierre Joye
On Sun, Jan 11, 2009 at 11:37 AM, Dmitry Stogov wrote: > The provided example works fine for me on both Linux and Windows. already fixed, I forgot to notify the list. The moves done in the new dns api was wrong and the optional zval argument was wrong (z! has another meaning). Cheers, -- Pierre

Re: [PHP-DEV] Private member/method access inconsistency

2009-01-11 Thread Robin Fernandes
>> Addressing those two points would make things even more consistent. >> I'm adding some testcases to illustrate. > > I fixed the callback case in 5_2. Need to talk to Dmitry about 5_3 and HEAD > because zend_is_callable_check_func() is damn complex now. > > -Andrei > Thanks! I noticed another i

Re: [PHP-DEV] Re: php daemons, memory

2009-01-11 Thread jvlad
> On 11.01.2009 03:21, jvlad wrote: >> Almost. >> Try to compile your very-own-version of php, using configure argument >> --disable-zend-memory-manager > > There is no such configure option since ages. seems you're flying too high. RHEL5 still ships php5.1.6 and it has this option and it undefine

Re: [PHP-DEV] Re: php daemons, memory

2009-01-11 Thread jvlad
> ZMM does never release memory to the system. my appologies, "never" is a too strong word for that. I'd use "almost never". Indeed ZMM does release segment to the OS if all the memory blocks in it are freed. I'd only add that with an average script, it won't happen. jv -- PHP Internals - P

Re: [PHP-DEV] Re: php daemons, memory

2009-01-11 Thread Antony Dovgal
On 11.01.2009 17:51, jvlad wrote: >> On 11.01.2009 03:21, jvlad wrote: >>> Almost. >>> Try to compile your very-own-version of php, using configure argument >>> --disable-zend-memory-manager >> >> There is no such configure option since ages. > > seems you're flying too high. > RHEL5 still ships p

Re: [PHP-DEV] Re: php daemons, memory

2009-01-11 Thread jvlad
>> seems you're flying too high. >> RHEL5 still ships php5.1.6 and it has this option and it undefines >> ZEND_USE_ZEND_ALLOC. > > PHP 5.2.0 has been released more than 2 (two) years ago, which should be > enough for a distro to catch up, don't you think so? Perhaps. But what they ship with RHEL5

Re: [PHP-DEV] Re: [RFC] Closures, Lambdas and use

2009-01-11 Thread Erik Schulz
I like how the current syntax forces you to define what your importing right next to the function signature. It's easy to waste time debugging if your assumptions about what's being imported into scope are wrong. Erik Schulz - gradbot @ gmail, yahoo, aim Software Engineer, Vulcan Inc. On Wed, J