Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61050 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10469 invoked from network); 29 Jun 2012 21:37:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2012 21:37:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 config.schlueters.de Received: from [217.114.211.66] ([217.114.211.66:46376] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/B8-62543-DFF1EEF4 for ; Fri, 29 Jun 2012 17:37:02 -0400 Received: from [192.168.2.230] (ppp-188-174-54-11.dynamic.mnet-online.de [188.174.54.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id BBBF8620FE; Fri, 29 Jun 2012 23:36:58 +0200 (CEST) To: Adi Mutu Cc: Felipe Pena , PHP Developers Mailing List In-Reply-To: <1340995650.24924.YahooMailNeo@web43511.mail.sp1.yahoo.com> References: <1338926897.37775.YahooMailNeo@web43502.mail.sp1.yahoo.com> <1339095042.60350.YahooMailNeo@web43512.mail.sp1.yahoo.com> <1339098261.2665.578.camel@guybrush> <1339098824.12078.YahooMailNeo@web43502.mail.sp1.yahoo.com> <1339100302.2665.623.camel@guybrush> <1340995650.24924.YahooMailNeo@web43511.mail.sp1.yahoo.com> Content-Type: text/plain; charset="UTF-8" Date: Fri, 29 Jun 2012 23:36:57 +0200 Message-ID: <1341005817.2310.19.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] concatenation operator From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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 SystemTap which is similar, ut I have never used it. > If i would want to set a breakpoint after php's initialization > process, but right before the scripts execution, so that after that I > can set breakpoints to emalloc and efree which are executed only > during my scripts execution where should i set it? Hope the question > was clear enough..... Depends on your view what "initialization" is. But execute() might be a place which helps ... but even then you will see many things you're probably not interested in. Only thing that helps is learning the code structure and digging through it. > dtrace related: > Why have you used 'execute:return' and not concat_function:return? > What's with the execute function? That was a bug since I quickly edited an older script. In this case it doesn't change the result. johannes