Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99091 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89530 invoked from network); 18 May 2017 05:21:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 May 2017 05:21:22 -0000 Authentication-Results: pb1.pair.com header.from=php@beccati.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php@beccati.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain beccati.com designates 176.9.123.236 as permitted sender) X-PHP-List-Original-Sender: php@beccati.com X-Host-Fingerprint: 176.9.123.236 box.beccati.com Received: from [176.9.123.236] ([176.9.123.236:52904] helo=box.beccati.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/3B-21791-05F2D195 for ; Thu, 18 May 2017 01:21:20 -0400 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id 4576920001A; Thu, 18 May 2017 07:21:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1495084877; bh=RU4q6Z3XEJrRCl/hGggBaN/JOrvFbKhl2UmzxkcR/Hw=; h=Subject:To:References:From:Date:In-Reply-To:From; b=cDlbIUIb43BP8b+fXT521AxJd72aWQCKpTkrFv/AfAV64Hji0x3R/dnXW+9sYxyJv yO8el9fBzbtvSwJ6+bgMxYyF+L7/QLIOc2FZzSesS/B5oWUYXmBIIzZtdZuu1DPwhA 5UHp0/60q7SyVIniMFoF54OQ9nhZQtuZF19uoa2eHZtLjFi/on/rmwDmPQgYnVLzrb pGrE5LM+pB94EBu7unRw3beBiwhki7Bv6eS4sUOh93Jw8I1m9V+kkKp0S2T3V2A112 G+UGioCp3gc5gB080rVtA8K9nv9UjuLHGZN5QthRH1kt4gDxPzRwakXSa7Rd5/1xJL IEeiZkhKSd4kA== To: Adam Baratz , "internals@lists.php.net" References: Message-ID: <94cdf88b-9933-a72d-d351-546da495d4ab@beccati.com> Date: Thu, 18 May 2017 07:21:13 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] deprecate PDO::PARAM_NULL From: php@beccati.com (Matteo Beccati) Hi Adam, On 15/05/2017 13:49, Adam Baratz wrote: > I've heard a few people here mention that this type isn't useful. It looks > like it wouldn't be harmful to remove. The RFC mainly outlines the impact > and proposes a schedule for doing so. > > https://wiki.php.net/rfc/deprecate_pdo_null > > Please let me know your thoughts. Please elaborate: "A handful of people on the internals mail list have asked for it to be removed" - where and when? "Supporting it adds some weight to PDO" what kind of weight? How many lines / microseconds are we going to save? I would agree that NULL is not a type and the constant shouldn't have been there in the first place, but I think it could be a bit too late now. The proposal itself is rather evil: it would break lots of code (a quick github search shows 95k+ results) for basically no gain. Or maybe I just didn't get it. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/