[PHP-DEV] questions about php structures

2012-11-17 Thread Adi Mutu
Hello, Got a few questions  if anybody can help me out: 1) what's the difference between zend_object and zend_object_value? what is each for? Because i'm confused.. 2) What are zend_object_store_bucket; and zend_object_store used for? Thanks, A.

[PHP-DEV] error handler

2012-10-19 Thread Adi Mutu
Hello, Can anybody show me, where in the core the user error handler is called? The mechanism of how it's called... Thanks, A.

[PHP-DEV] compile php as fpm

2012-08-20 Thread Adi Mutu
Hello, I'm trying to compile php 5.3 as php-fpm using the following configure command ./configure --enable-debug --enable-maintainer-zts --enable-fpm --enable-fastcgi and i get this  Thank you for using PHP. Notice: Following unknown configure options were used: --enable-fastcgi The

Re: [PHP-DEV] concatenation operator

2012-06-30 Thread Adi Mutu
 structure and digging through it. Any hint/documentation to learn that? Thanks. From: Johannes Schlüter johan...@schlueters.de To: Adi Mutu adi_mut...@yahoo.com Cc: Felipe Pena felipe...@gmail.com; PHP Developers Mailing List internals@lists.php.net Sent

Re: [PHP-DEV] concatenation operator

2012-06-29 Thread Adi Mutu
, A. From: Johannes Schlüter johan...@schlueters.de To: Adi Mutu adi_mut...@yahoo.com Cc: Felipe Pena felipe...@gmail.com; PHP Developers Mailing List internals@lists.php.net Sent: Thursday, June 7, 2012 11:18 PM Subject: Re: [PHP-DEV] concatenation operator On Thu, 2012-06-07 at 12:53 -0700, Adi

Re: [PHP-DEV] Internals books (c) 2007+ ?

2012-06-10 Thread Adi Mutu
:) That's too badI've read Sara's book, but i'd also buy a new book on this topic. From: Lars Strojny l...@strojny.net To: Sanford Whiteman swhitemanlistens-softw...@cypressintegrated.com Cc: internals@lists.php.net Sent: Thursday, May 17, 2012 5:14 PM

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Adi Mutu
that's nice, but i haven't understood a thing...i know something about php core and php extensions, but nothing about the Zend engine specific.  Can you point me to some resources on this topic? Thanks, From: Felipe Pena felipe...@gmail.com To: Adi Mutu

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Adi Mutu
are registered? because it takes like a million years like this and a million F8 presses... Thanks. From: Johannes Schlüter johan...@schlueters.de To: Adi Mutu adi_mut...@yahoo.com Cc: Felipe Pena felipe...@gmail.com; PHP Developers Mailing List internals

[PHP-DEV] concatenation operator

2012-06-05 Thread Adi Mutu
Hello, Can somebody point me to where the concatenation operator is implemented ?  . operator. Thanks,

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
...@php.net To: Adi Mutu adi_mut...@yahoo.com Cc: internals@lists.php.net internals@lists.php.net Sent: Friday, March 2, 2012 3:43 PM Subject: Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET Laruence and I wrote articles about ZendMM internals. You would find them at http

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
Now that's really awesome.:) I have to do something so i can access and subscribe to that blog. Are you serious about that firewall? That would be my first time i actually encounter a problem because of this. From: Ferenc Kovacs tyr...@gmail.com To: Adi Mutu

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
! From: Laruence larue...@php.net To: Adi Mutu adi_mut...@yahoo.com Cc: Ferenc Kovacs tyr...@gmail.com; jpauli jpa...@php.net; internals@lists.php.net internals@lists.php.net Sent: Friday, March 2, 2012 4:52 PM Subject: Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
. From: Stas Malyshev smalys...@sugarcrm.com To: Adi Mutu adi_mut...@yahoo.com Cc: internals@lists.php.net internals@lists.php.net Sent: Friday, March 2, 2012 8:44 PM Subject: Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET Hi! #define

[PHP-DEV] question about Zend MM

2012-03-01 Thread Adi Mutu
Hello, I want to understand how Zend MM works, so i'm looking trought the sources and i see this: #define ZEND_MM_ALIGNMENT_MASK ~(ZEND_MM_ALIGNMENT-1) #define ZEND_MM_ALIGNED_SIZE(size)(((size) + ZEND_MM_ALIGNMENT - 1) ZEND_MM_ALIGNMENT_MASK) I understand that the first define

Re: [PHP-DEV] question about Zend MM

2012-03-01 Thread Adi Mutu
Ah, now i got it..so it can also return size, if size is directly a multiple of  ZEND_MM_ALIGNMENT. I was convinced that it has to be stricly than size, i guess i was wrong. From: Gustavo Lopes glo...@nebm.ist.utl.pt To: Adi Mutu adi_mut...@yahoo.com

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
Thanks Julien I don't know french, but i'll read it using google translate:) From: jpauli jpa...@php.net To: Adi Mutu adi_mut...@yahoo.com Cc: Ángel González keis...@gmail.com; PHP Developers Mailing List internals@lists.php.net Sent: Tuesday, February

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
I know about the zif_* functions and i'm already using lxr.php.net. Didn't know about Gcc -e trick though, that might be usefull. Thanks. From: jpauli jpa...@php.net To: Rasmus Lerdorf ras...@php.net Cc: Adi Mutu adi_mut...@yahoo.com; PHP Developers Mailing

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-14 Thread Adi Mutu
I know about the zif_* functions and i'm already using lxr.php.net. Didn't know about gcc -E trick though, that might be usefull. Thanks. From: jpauli jpa...@php.net To: Rasmus Lerdorf ras...@php.net Cc: Adi Mutu adi_mut...@yahoo.com; PHP Developers Mailing

[PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Adi Mutu
Hello, Perhaps this is a stupid question, but i haven't coded in C in years and i'm not very familiar with development/debugging tools. If I have a php script say 20 lines, How can I see a path of the corresponding C code which is executed? What If i would like to break at a certain php

Re: [PHP-DEV] how to debug a php script ( the C code beneath it)

2012-02-13 Thread Adi Mutu
: Ángel González keis...@gmail.com To: Adi Mutu adi_mut...@yahoo.com Cc: PHP Developers Mailing List internals@lists.php.net Sent: Tuesday, February 14, 2012 1:11 AM Subject: Re: [PHP-DEV] how to debug a php script ( the C code beneath it) On 13/02/12 21:48, Adi Mutu wrote: Hello, Perhaps

[PHP-DEV] zend guard

2012-01-30 Thread Adi Mutu
Hello, Can anybody tell me what this struct is used for ? I'm new to the internals of php. Thanks, A

Re: [PHP-DEV] Re: Zend mm

2011-02-01 Thread Adi Mutu
Thanks a lot, for all the help about zend mm guys,  i'm very grateful. Thanks,A. --- On Sun, 1/30/11, Ben Schmidt mail_ben_schm...@yahoo.com.au wrote: From: Ben Schmidt mail_ben_schm...@yahoo.com.au Subject: Re: [PHP-DEV] Re: Zend mm To: Adi Mutu adi_mut...@yahoo.com Cc: internals@lists.php.net

[PHP-DEV] Re: Zend mm

2011-01-29 Thread Adi Mutu
I have looked at the sources, but i'm only at the begining of analyzing the php sources.i've understand how to write extensions for example, but this memory manager seems more complicated to me. It would be useful if for example, could explain me the structures that are used in the

[PHP-DEV] Zend mm

2011-01-27 Thread Adi Mutu
Hello, Nobody can help me understand better the internals of the zend memory manager? Thanks,Adrian

[PHP-DEV] zend memory manager

2011-01-24 Thread Adi Mutu
Hello, Where can I find some references to read about the Zend mm? I'm not talking about emalloc/efree (or pemalloc/pefree), i'm talking about lower level functions like zend_mm_aloc_int and zend_mm_free_int, structs like zend_mm_heap etc.I've tried looking at the sources, but it's not