Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:97534 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64918 invoked from network); 6 Jan 2017 17:27:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2017 17:27:19 -0000 Authentication-Results: pb1.pair.com smtp.mail=netmo.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=netmo.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.47 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.215.47 mail-lf0-f47.google.com Received: from [209.85.215.47] ([209.85.215.47:33083] helo=mail-lf0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/D6-23307-573DF685 for ; Fri, 06 Jan 2017 12:27:18 -0500 Received: by mail-lf0-f47.google.com with SMTP id k86so58161654lfi.0 for ; Fri, 06 Jan 2017 09:27:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3AUBtMufC+v3vlyjB8CMZv4FUPAGFHQPGn6d+JTzIXE=; b=lQsWL/P88+n1DjpDVJZkuoivIX6socjxW0GK46cKESCUhEIzcT0ys7Hz24hCk3qs2C 2jVuOJxYkudMwWlhSF+m4NhTkIprSSKR08XSWws6zop/LL3EJ27FVb+XDTDpgLHjZBBd HstZbFaDuWsHScU1futCKPyw1YMs5Fz5fNbAhNNSWIqmDL7qFXCC6Wsbd3RvsdDyPqUV FKGc7wuf9C3DcfLgYouFufXFAO1dPJtdEhur6mZ0QiFM7NiZGrfo4uEaTqFsBXiT/b2r ssNITTVMhV66o9tk3IgWSFgNeMB1gNQOADPLwmLmVkE5cM6MxHXKXOix+XM1JuqBtfqU NeaQ== 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=3AUBtMufC+v3vlyjB8CMZv4FUPAGFHQPGn6d+JTzIXE=; b=etmOIZ8/z6y7ZP5Dzk5OdZWHP2j4Xu16Z79yz6vxxXSuitv2zlw5VRZV4UYdxzV+kK /VQmWTeJG3I1Cb6oqxESVrSoZxjhGnyZs6rc03mucoFMc4HekuujOcuZ+nBCh+peGj3D 5oN/gBN5g1BR76LaoN0Vmz4gt7vRDbTntvcERTXNPEIzkMP2B7jOvRxO6VkY6n7X3qoa 2lgHamHkgu1/ErPBwv99ZVGJ6TNPKZMQJNIj792eHtZ3yq426sV926Fw9UxwWOLCm9Dy LGUml7DbywZoUiUIwG9z44ViQQxiKbRCJqPNi8tb7tLk8xfreMktKuB4I5GXx4kbPE72 IZpg== X-Gm-Message-State: AIkVDXIXrPnbgerYuegoqFNnXjz/VD4fGxG+KSg9fkATackGggjNFjQZ+HKxiBc/bHTC6ftS/AfFE3vzcKCPxw== X-Received: by 10.46.32.201 with SMTP id g70mr5166023lji.13.1483723634110; Fri, 06 Jan 2017 09:27:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.12.102 with HTTP; Fri, 6 Jan 2017 09:27:13 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Jan 2017 18:27:13 +0100 Message-ID: To: Marco Pivetta Cc: PHP Internals List Content-Type: multipart/alternative; boundary=001a1142bb7827f5630545705479 Subject: Re: [PHP-DEV][RFC][VOTE] Throwable error code's type generalization From: netmo.php@gmail.com (Wes) --001a1142bb7827f5630545705479 Content-Type: text/plain; charset=UTF-8 Hi Marco \o, linking to the discussion thread http://externals.io/thread/573 because I don't have much more to add. I think the throwable's code is almost never used regardless, but this could give users more opportunities to do something useful with it as Niklas stated in previous thread. Changing PDO errors to be int is an option, too, but I don't see that happening, not even in a major version. It would be a huge non-bc change for very very little improvement... This instead could open up to new uses for the property, that again is barely used these days, while also fixing the PDO inconsistency. --001a1142bb7827f5630545705479--