[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

[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 line

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

2012-02-13 Thread Adi Mutu
From: Ángel González To: Adi Mutu Cc: PHP Developers Mailing List 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 this is a stupid question, but i haven't

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 To: Adi Mutu Cc: Ángel González ; PHP Developers Mailing List Sent: Tuesday, February 14, 2012 11:17 AM Subject: Re: [PHP-DEV] how to debug a php scri

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 To: Rasmus Lerdorf Cc: Adi Mutu ; PHP Developers Mailing List Sent: Tuesday, February 14, 20

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 To: Rasmus Lerdorf Cc: Adi Mutu ; PHP Developers Mailing List Sent: Tuesday, February 14, 20

[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 To: Adi Mutu ; internals@lists.php.net Sent: Thurs

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
ml and http://julien-pauli.developpez.com/tutoriels/php/internals/zend-memory-manager/ . You can use any translator to get them in English For basic use, see the readme at http://lxr.php.net/xref/PHP_5_4/Zend/README.ZEND_MM Hope this helps :) Julien.P On Fri, Mar 2, 2012 at 1:51 PM, Adi Mutu wrote:

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 To: Adi Mutu Cc: j

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
at the end. Thanks! From: Laruence To: Adi Mutu Cc: Ferenc Kovacs ; jpauli ; "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 On Fri, Mar 2, 2012 at 10:12 PM, Adi Mutu wrote: > Now

Re: [PHP-DEV] ZEND_MM_SMALL_FREE_BUCKET and ZEND_MM_REST_BUCKET

2012-03-02 Thread Adi Mutu
l read more tomorrow. From: Stas Malyshev To: Adi Mutu Cc: "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 ZEND_MM_SMALL_FREE_BUCKET(heap, ind

[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] 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 To: Adi Mutu Cc: PHP

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Adi Mutu
s are registered? because it takes like a million years like this and a million F8 presses... Thanks. From: Johannes Schlüter To: Adi Mutu Cc: Felipe Pena ; PHP Developers Mailing List Sent: Thursday, June 7, 2012 10:44 PM Subject: Re: [PHP-DEV] concaten

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 To: Sanford Whiteman Cc: internals@lists.php.net Sent: Thursday, May 17, 2012 5:14 PM Subject: Re: [PHP-DEV] Internals books (c) 2007+ ? Yep, that mig

Re: [PHP-DEV] concatenation operator

2012-06-29 Thread Adi Mutu
the execute function? Thanks, A. ____ From: Johannes Schlüter To: Adi Mutu Cc: Felipe Pena ; PHP Developers Mailing List Sent: Thursday, June 7, 2012 11:18 PM Subject: Re: [PHP-DEV] concatenation operator On Thu, 2012-06-07 at 12:53 -0700, Adi Mutu wrote: > Ok Johannes, thanks for the

Re: [PHP-DEV] concatenation operator

2012-06-30 Thread Adi Mutu
helps is learning the code structure and digging through it. Any hint/documentation to learn that? Thanks. From: Johannes Schlüter To: Adi Mutu Cc: Felipe Pena ; PHP Developers Mailing List Sent: Saturday, June 30, 2012 12:36 AM Subject: Re: [PHP-DEV] c

[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

[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] 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] 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 ver

[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] 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 Zend

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 wrote: From: Ben Schmidt Subject: Re: [PHP-DEV] Re: Zend mm To: "Adi Mutu" Cc: internals@lists.php.net, t...@daylessday.org Date: Sunday, January 30, 2011, 4:45 PM