Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100096 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32499 invoked from network); 29 Jul 2017 10:13:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jul 2017 10:13:58 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.192.181 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.192.181 mail-pf0-f181.google.com Received: from [209.85.192.181] ([209.85.192.181:34739] helo=mail-pf0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/7B-40376-4EF5C795 for ; Sat, 29 Jul 2017 06:13:57 -0400 Received: by mail-pf0-f181.google.com with SMTP id q85so104300919pfq.1 for ; Sat, 29 Jul 2017 03:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=basereality-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kUYzWi3dRauOxOXR8vzY91qfT8CF3Em29HBEoqHX4vc=; b=Kkn6JF4PXql9ku3sQI9jbaND/aRZBbAdEo85uZ5bMAoiojTefnVwiLNifaWvAtKrFB gPIuaqI+7ze4BTrXjcfzKegWBwZDAWnV1vHAIwlcPwEUp5bJPepTNgDuk6e0xucV4qgL ZiwRv8qYdZsNT5xfjgcheyBThQDjny0IDAG4NRMICutsQwfcIgyOuVmuEMLn9QCATJyS I8w3Px+i0ZunoImfhYNCjuXoUZlRWKjLC9ryPydLSwZAlkznqLQrauANgi2ZEAjdbQLl qoB3CFKNNVnGUKUpobNo70IJjJzKnlrq5bQeKyR5SncSmP0TqeMt07v+v8Ho7sBjP95N cc8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=kUYzWi3dRauOxOXR8vzY91qfT8CF3Em29HBEoqHX4vc=; b=orAYHcqcl38beHfRteVq53pmcI6dZLZRwyf/5C5KSyFhQfQC+tKGBEaLFSYQ5qMCbG Sua2Nnp98HeLIkkgdVc9bEJaYSXhDerDBL2OQXQZqx+HM8KyKsiDbqaCqzbhgpvc6SZv N7/9XMth5X6doQBDgcTbWbrKQpS8t2EXEIRGNEI6uEs65g+xOtx5nnigWfZLjRGskbgs toFUGGXlzdlWQZFzwZkUD2l7EBv6SgkZkohYTL+L/MvxTjyQYUPsmgCM0zx6jv8bOiW8 aIEHBPXj/goWSBNlB2ANp/SP7bg0f0wsDP6iHBryiY5Wt6aUbYctYzImDZhgE8kVcoxh KvZw== X-Gm-Message-State: AIVw112STg3l2WYAgs9A5HnyAvF5zqs0V7edPuccmPy7WPk7Ag18MIzN lsXJkhbzjWElNSXr+Me/NVCvnHpuATmZ X-Received: by 10.99.247.83 with SMTP id f19mr9933366pgk.190.1501323232696; Sat, 29 Jul 2017 03:13:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.186.236 with HTTP; Sat, 29 Jul 2017 03:13:52 -0700 (PDT) X-Originating-IP: [77.99.17.151] In-Reply-To: <1907EFF3-ED77-4F5C-85AA-CDFE323369C5@bk.ru> References: <1907EFF3-ED77-4F5C-85AA-CDFE323369C5@bk.ru> Date: Sat, 29 Jul 2017 11:13:52 +0100 Message-ID: To: Andrew Nester Cc: "internals@lists.php.net" Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [Request][Discussion] Introduce interfaces PDOInterface and PDOStatementInterface From: danack@basereality.com (Dan Ackroyd) On 28 July 2017 at 07:40, Andrew Nester wrote: > Hello! > > the only way to add some custom classes and behavior is to approach this is by subclassing PDO and PDOStatement. Please could you explicitly say when this is a problem, or what using an interface allows? I can imagine possible scenarios, but the discussion would be clearer if you gave concrete examples. cheers Dan