Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46362 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90153 invoked from network); 9 Dec 2009 09:27:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2009 09:27:37 -0000 Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:46735] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/60-21606-68D6F1B4 for ; Wed, 09 Dec 2009 04:27:36 -0500 Received: from localhost (xdebug.org [127.0.0.1]) by xdebug.org (Postfix) with ESMTPS id 25127DE001; Wed, 9 Dec 2009 09:27:32 +0000 (UTC) Date: Wed, 9 Dec 2009 09:27:31 +0000 (GMT) X-X-Sender: derick@kossu.ez.no To: Stanislav Malyshev cc: Mathieu Suen , internals@lists.php.net In-Reply-To: <4B1D563C.4050504@zend.com> Message-ID: References: <4B1D0D85.7050600@easyflirt.com> <4B1D563C.4050504@zend.com> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] Opcode EXT_FCALL_BEGIN and EXT_FCALL_END? From: derick@php.net (Derick Rethans) On Mon, 7 Dec 2009, Stanislav Malyshev wrote: > > I am wondering what the opcode EXT_FCALL_BEGIN and EXT_FCALL_END is used > > for? > > When php is in "extended opcode" mode (usually used by debuggers) these > opcodes are generated by the compiler before entering and after exiting > function calls (so that the debugger could do "step into" and "step over"). > They are not used in non-debugging context. Are you guys using those in Zend Debugger? Because in Xdebug I found them utterly useless (not EXT_STMT, which I do use). Instead of using EXT_FCALL_* I just do the triggers in the overloaded zend_execute. Derick -- http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org twitter: @derickr