On Wed, 14 Apr 2004, Marcus Boerger wrote:

>> This is actually a pretty nasty side effect of throwing exceptions in
>> ctors because these two lines have *very* different results if they
>> fail:
>
>> $db = new SQLiteDatabase();
>> $db = sqlite_open();
>
>> The first is fatal; the second isn't.

    So to use the OO API of sqlite requires that I use
    exceptions with it too..? It's pretty unfriendly to force
    the use of exceptions like this, IMO.
    
    --Jani
   

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

Reply via email to