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 PROTECTED] |
+------------------------------------+

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to