Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83652 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58653 invoked from network); 24 Feb 2015 11:05:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Feb 2015 11:05:04 -0000 Authentication-Results: pb1.pair.com smtp.mail=dennis@birkholz.biz; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=dennis@birkholz.biz; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain birkholz.biz does not designate 144.76.185.252 as permitted sender) X-PHP-List-Original-Sender: dennis@birkholz.biz X-Host-Fingerprint: 144.76.185.252 mx01.nexxes.net Received: from [144.76.185.252] ([144.76.185.252:41578] helo=mx01.nexxes.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/93-37184-EDA5CE45 for ; Tue, 24 Feb 2015 06:05:03 -0500 Received: from [137.226.183.192] (ip3192.saw.rwth-aachen.de [137.226.183.192]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: db220660-p0g-1@packages.nexxes.net) by mx01.nexxes.net (Postfix) with ESMTPSA id 2988648245C for ; Tue, 24 Feb 2015 12:04:58 +0100 (CET) Message-ID: <54EC5AD9.3040505@birkholz.biz> Date: Tue, 24 Feb 2015 12:04:57 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Exceptions in the engine From: dennis@birkholz.biz (Dennis Birkholz) Hi, Am 23.02.2015 um 19:15 schrieb Nikita Popov: > A second vote will decide whether to use a BaseException based inheritance > hierarchy. This vote uses a simple majority. I like this RFC and hope it passes. I am a little concerned about littering the global namespace. It would be preferable to have a single namespace that is reserved for all build in classes (like \PHP) that contains all classes like exceptions. The name BaseException seems to be a very common one: https://github.com/search?l=php&q=baseexception&type=Code finds about 14k matches, so this may be a huge BC break if the actual class name is not changed. Thanks Dennis