Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85746 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52353 invoked from network); 8 Apr 2015 16:57:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Apr 2015 16:57:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.213.181 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.213.181 mail-ig0-f181.google.com Received: from [209.85.213.181] ([209.85.213.181:33438] helo=mail-ig0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/31-40877-BDD55255 for ; Wed, 08 Apr 2015 12:56:59 -0400 Received: by ignm3 with SMTP id m3so33084784ign.0 for ; Wed, 08 Apr 2015 09:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=n/dMoK7KDjfhlUQUjgMPI/MSefjCrtQzF2lY2eDk/ug=; b=EKl9Hc4cRbL9Ip6CIPnF7crfh9W7VgKlcjk6hO/hZf0y8SO1USKvh0QUN6U9mn/zEk 2jgQruVldYWFYussobM3dQh4fTBP2jt04YmMW+zaQv9ywzXlOdLQZic/jzhG1ao78a0f NR1R6mcg1LvurkcJSwedqE+KO/n/QVBtFZqOQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type; bh=n/dMoK7KDjfhlUQUjgMPI/MSefjCrtQzF2lY2eDk/ug=; b=UOLfaXbws4DPRv5SEn+Y2IqUhDPHXVPx18r8EeA9LV0oiH5+U+5E7TXy2blCc3Ph2s rXQ6xp6BHvv94JHlEtMe7f7jVjrC5xZFWn8EUWxiQnuebvrteKXkeegCycLv0bsUuAZ3 zSghMlRUdjtA90Iqh8lRcIxj1phcN+uQspWKCohApofgOVnY2NHAcYvMao3TDaoPW6Ck Dub7VGDuM91Dlt5MHyQ1fFP+T34s2P/ZB6Mr9F+uujqtNCKoyAHT6IwxVTZVxzc0WJhz 1dKT4db/ZQqKorclY7I3TEsSWwmVKcSDyhLu9tNbjPWGhrQjavux1igAPw/DUHctVXLA jTGg== X-Gm-Message-State: ALoCoQnh117jKArjfM33FqrYc+4sCG857cEBccX5S5Bn2Q98y/YshwEEOsbO3oPcmIU+q6B3x6hj X-Received: by 10.50.114.4 with SMTP id jc4mr1702120igb.14.1428512216443; Wed, 08 Apr 2015 09:56:56 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.42.35.139 with HTTP; Wed, 8 Apr 2015 09:56:36 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Apr 2015 09:56:36 -0700 X-Google-Sender-Auth: Uzfmvt9r94qNO8OHLIN8aZ10s2E Message-ID: To: Anthony Ferrara Cc: Andi Gutmans , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Concern around growing complexity in engine - hash table specifically From: aharvey@php.net (Adam Harvey) On 8 April 2015 at 08:16, Anthony Ferrara wrote: > Sophistication is fine. What worries me though is magic. What worries > me is the growing inability to debug with normal tools. Perhaps we > need a GDB extension to provide tooling for common debugging tasks. > Heck, even dumping a zend_string requires a cast (p (char*)str->val). On that: we do already have a .gdbinit in php-src. I wonder if a concrete thing that could be done right now to improve matters for master would be to extend it on master to cover those sorts of common operations that we're going to need to debug PHP 7. Adam