Re: [VOTE] Exceptions in the engine

From: Date: Tue, 24 Feb 2015 11:04:57 +0000
Subject: Re: [VOTE] Exceptions in the engine
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-83652@lists.php.net to get a copy of this message
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

« previous php.internals (#83652) next »