Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78591 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89483 invoked from network); 3 Nov 2014 21:08:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Nov 2014 21:08:42 -0000 Authentication-Results: pb1.pair.com header.from=florian@margaine.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=florian@margaine.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain margaine.com from 209.85.223.172 cause and error) X-PHP-List-Original-Sender: florian@margaine.com X-Host-Fingerprint: 209.85.223.172 mail-ie0-f172.google.com Received: from [209.85.223.172] ([209.85.223.172:61249] helo=mail-ie0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/32-10620-9DEE7545 for ; Mon, 03 Nov 2014 16:08:41 -0500 Received: by mail-ie0-f172.google.com with SMTP id at20so6201398iec.3 for ; Mon, 03 Nov 2014 13:08:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=zHcIL8UhfGSIb4cDxm+kjMfVWvIIECby8JTEQLhXK1M=; b=ePc7wX7r+exRLrbLV7+HcrBX8LD+tKbCAMyF9FK/sFffKEeH6CoP2tmNFgsxvGovl8 j43k0NRQI1Tn5tOK4+aW8OxDnOM/Ae3cnQ6PYJpTlL1lDRlL6qY/6c45LSKmqa8Vq+t4 XIMFz57N87sZBO5hnG+8zRz68s31wuzxqKqybc/Pefy7LjuxOZxV1i4ERJFr1avJ0q00 /S7yp0ECx+qYzq2AywG2zhwlOsdlosGm5W8sBORe/c1bk4puHNbt2Fb8CN5wbipgrjlt UEDAsLaTTD6bf0fB6A7kwJ88HVMTI+E+gGrTkHPq4KzP+bEQh5E4TDTxDGv9DeoByPzn NDKw== X-Gm-Message-State: ALoCoQmpfoALqjYlK5QwYDmeM9DB0ejWEUKhJJfHV2RZ7u6KaeW9S1yCtQbNfW8qCiUUcfCBY1e+ X-Received: by 10.42.87.6 with SMTP id w6mr43976007icl.10.1415048918353; Mon, 03 Nov 2014 13:08:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.31.149 with HTTP; Mon, 3 Nov 2014 13:08:18 -0800 (PST) X-Originating-IP: [90.42.228.19] In-Reply-To: References: Date: Mon, 3 Nov 2014 22:08:18 +0100 Message-ID: To: Derick Rethans Cc: PHP Developers Mailing List Content-Type: multipart/alternative; boundary=20cf301cc19c1e751e0506fac022 Subject: Re: [PHP-DEV] PHPDBG scope From: florian@margaine.com (Florian Margaine) --20cf301cc19c1e751e0506fac022 Content-Type: text/plain; charset=UTF-8 Hi, Why should phpdbg scope be limited, and not extended? As far as I know, xdebug is nowhere like an official php project, so overlap shouldn't be an issue. I'm not saying phpdbg has to be extended, but I'm wondering why it should be limited. Regards, On Mon, Nov 3, 2014 at 10:03 PM, Derick Rethans wrote: > Hi, > > This is based on an email conversation between Joe Watkins and me. I > asked him > what the original scope of phpdbg was, and I've summarized his reply > here: > > - PHPDBG was originally envisioned as a "gdb" for the Zend VM, with gdb > like commands to debug, and step through code. > - Support for breaking on an opline, something that no userland PHP > users would need. > - Support for breaking on lines, was an additional step later. > - For PHP programmers, which spend most of their time at the console. > - Not "intended to cover PHP's primary domain of HTTP requests". > > Then later, they "documented a way that you could use it to emulate an > HTTP request, by setting those superglobals and executing your index.php > - your code doesn't know the difference between a real request, and a > cli-like script with the same super globals set." > > And Joe indicates, that with that addition, the "flood gates opened". He > also said that he "would still like to remain in that narrow scope, > phpdbg is still useful in it's current (pre xml stuff) form." and that > it was never meant to "usurp xdebug", as "that is not where we were > aiming, and it's an extremely unrealistic thing to even want." > > And I very much agree that the above bullet points, is what phpdbg's > scope should be. > > Joe, if I got this wrong, then please say so :-) > > cheers, > Derick > > > -- > http://derickrethans.nl | http://xdebug.org > Like Xdebug? Consider a donation: http://xdebug.org/donate.php > twitter: @derickr and @xdebug > Posted with an email client that doesn't mangle email: alpine > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Florian Margaine --20cf301cc19c1e751e0506fac022--