Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:4424 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5314 invoked by uid 1010); 7 Sep 2003 20:48:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5270 invoked from network); 7 Sep 2003 20:48:20 -0000 Received: from unknown (HELO linux.local) (80.132.111.185) by pb1.pair.com with SMTP; 7 Sep 2003 20:48:20 -0000 Received: from php.net (localhost [127.0.0.1]) by linux.local (Postfix) with ESMTP id 64491BB84D for ; Sun, 7 Sep 2003 22:50:28 +0200 (CEST) Message-ID: <3F5B9A12.3040803@php.net> Date: Sun, 07 Sep 2003 22:50:26 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Feature Request - abtract + throws From: attila@php.net (Attila Strauss) Hi, are there any plans about implementing the ability to provide throws for abstract classes? Example: ---s.cut--- abstract class RDBMS_Connection_Abstract { abstract public function connect() throws RDBMS_Connection_Exception; } class RDBMS_Connection extends RDBMS_Connection_Abstract { public function connect() { echo 'implementing connect() without a "throw new RDBMS_Connection_Exception" should cause a PHP FATAL ERROR.'; } } ---e.cut--- So, any plans? Thanks in Advance ... Attila -- +------------------------------------+ | First Name..................Attila | +------------------------------------+ | Last Name..................Strauss | +------------------------------------+ | Cell Phone.......+49 172 980 43 13 | +------------------------------------+ | eMail...............attila@php.net | +------------------------------------+