Re: [PHP-DEV] concatenation operator

2012-07-02 Thread Christopher Jones
On 06/30/2012 04:51 PM, Johannes Schlüter wrote: On Sat, 2012-06-30 at 03:53 -0700, Adi Mutu wrote: Only thing that helps is learning the code structure and digging through it. Any hint/documentation to learn that? Use the source. ;-) A bit more seriously: No, there's no good single plac

Re: [PHP-DEV] concatenation operator

2012-06-30 Thread Johannes Schlüter
On Sat, 2012-06-30 at 03:53 -0700, Adi Mutu wrote: > > By initialization i mean the latest point possible where I can set a > breakpoint, but right before my scripts starts executing it's > emalloc's or efree's. Does "executing" include "compilation"? Does it include creating a stack frame et

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

Re: [PHP-DEV] concatenation operator

2012-06-29 Thread Johannes Schlüter
On Fri, 2012-06-29 at 11:47 -0700, Adi Mutu wrote: > Sorry for the late reply, I was away for a while.. > I don't think I have dtrace because I'm on fedora.but i'll > research. As said: Currently only on Solaris, MacOS and BSD. Oracle is porting DTrace to Oracle Linux. RedHat created Syste

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: Re: [PHP-DEV] concatenation operator

2012-06-14 Thread Morgan L. Owens
On 2012-06-15 04:00, Ángel González wrote: On 13/06/12 05:26, Morgan L. Owens wrote: After reading the performance improvements RFC about interned strings, and its passing mention of a "special data structure (e.g. zend_string) instead of char*", I've been thinking a little bit about this and wh

Re: [PHP-DEV] concatenation operator

2012-06-14 Thread Ángel González
On 13/06/12 05:26, Morgan L. Owens wrote: > After reading the performance improvements RFC about interned strings, > and its passing mention of a "special data structure (e.g. > zend_string) instead of char*", I've been thinking a little bit about > this and what such a structure could be. > > But

Re: Re: [PHP-DEV] concatenation operator

2012-06-12 Thread Morgan L. Owens
On 2012-06-08 08:18, Johannes Schlüter wrote: On Thu, 2012-06-07 at 12:53 -0700, Adi Mutu wrote: Ok Johannes, thanks for the answer. I'll try to look deeper. I basically just wanted to know what happens when you concatenate two strings? what emalloc/efree happens. This depends. As always. As s

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Johannes Schlüter
On Thu, 2012-06-07 at 12:53 -0700, Adi Mutu wrote: > Ok Johannes, thanks for the answer. I'll try to look deeper. > I basically just wanted to know what happens when you concatenate two > strings? what emalloc/efree happens. This depends. As always. As said what has to be done is one allocation f

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] concatenation operator

2012-06-07 Thread Johannes Schlüter
On Thu, 2012-06-07 at 11:50 -0700, Adi Mutu wrote: > > 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. The mentioned place is directly in the VM, which in general is harder to understand, but well

Re: [PHP-DEV] concatenation operator

2012-06-07 Thread Adi Mutu
Developers Mailing List Sent: Tuesday, June 5, 2012 11:17 PM Subject: Re: [PHP-DEV] concatenation operator Hi, 2012/6/5 Adi Mutu : > > > Hello, > > Can somebody point me to where the concatenation operator is implemented ?   > "." operator. > > Thanks,

Re: [PHP-DEV] concatenation operator

2012-06-05 Thread Felipe Pena
Hi, 2012/6/5 Adi Mutu : > > > Hello, > > Can somebody point me to where the concatenation operator is implemented ?   > "." operator. > > Thanks, See http://lxr.php.net/xref/PHP_TRUNK/Zend/zend_vm_def.h#133 -- Regards, Felipe Pena -- PHP Internals - PHP Runtime Development Mailing List To unsu

[PHP-DEV] concatenation operator

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