Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80570 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33226 invoked from network); 15 Jan 2015 16:55:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2015 16:55:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.207 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.207 imap2-2.ox.privateemail.com Received: from [192.64.116.207] ([192.64.116.207:42454] helo=imap2-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/F5-14306-5F0F7B45 for ; Thu, 15 Jan 2015 11:55:17 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 401CC8C0069; Thu, 15 Jan 2015 11:55:14 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap2.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap2.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nE2-urDihWSo; Thu, 15 Jan 2015 11:55:14 -0500 (EST) Received: from oa-res-26-240.wireless.abdn.ac.uk (oa-res-26-240.wireless.abdn.ac.uk [137.50.26.240]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 64C168C0009; Thu, 15 Jan 2015 11:55:12 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) In-Reply-To: Date: Thu, 15 Jan 2015 16:55:10 +0000 Cc: internals Content-Transfer-Encoding: quoted-printable Message-ID: <0DD30A0D-E7CA-4150-83E0-8FD46635279C@ajf.me> References: To: Levi Morrison X-Mailer: Apple Mail (2.1993) Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: ajf@ajf.me (Andrea Faulds) Hey Levi, Upon further thought, I=E2=80=99m not super-enthusiastic about this. As = has been pointed out, it=E2=80=99s a pretty serious BC break, whether = code can be automatically updated or not. PHP 4 constructors may be = obsolete, but an awful lot of code uses them. A better solution, IMO, might be simply to add a deprecation notice. = This would make it obvious during development if you=E2=80=99ve = accidentally defined a PHP4 constructor, and would encourage migration = away from them, but wouldn=E2=80=99t prevent existing code from working. Thoughts? -- Andrea Faulds http://ajf.me/