#32933 [NEW]: Extending SQLiteDatabase
| From: | rbro at hotmail dot com | Date: | Tue, 03 May 2005 21:16:53 +0000 |
| Subject: | #32933 [NEW]: Extending SQLiteDatabase | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-78584@lists.php.net to get a copy of this message | ||
From: rbro at hotmail dot com
Operating system: Linux
PHP version: 5.0.4
PHP Bug Type: SQLite related
Bug description: Extending SQLiteDatabase
Description:
------------
The SQLiteDatabase class is not extendable while other databases classes
such as mysqli are extendable.
Reproduce code:
---------------
<?php
class s1 extends SQLiteDatabase
{
}
$s1 = new s1('db', 0666, $error);
?>
Expected result:
----------------
no output
Actual result:
--------------
PHP Fatal error: Class s1 may not inherit from final class
(SQLiteDatabase) in 1.php on line 6
Fatal error: Class s1 may not inherit from final class (SQLiteDatabase) in
1.php on line 6
--
Edit bug report at http://bugs.php.net/?id=32933&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32933&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32933&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32933&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32933&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32933&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32933&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32933&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32933&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32933&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32933&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32933&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32933&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32933&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32933&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32933&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32933&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32933&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32933&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32933&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32933&r=mysqlcfg