|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-07-10 02:51 UTC] wez@php.net
[2003-07-13 03:49 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
Description: ------------ Hi, the following script doesn't work correctly: <?php $handle = sqlite_popen("sqlite.db"); var_dump($handle); $handle = sqlite_popen("sqlite.db"); var_dump($handle); ?> will produce $ ./php -f sqlitetest.php resource(1) of type (sqlite database (persistent)) resource(1) of type (Unknown) This also happens if I call sqlite_close($handle) between the popens... BTW, this is on the latest ext/sqlite copied to existing 4.3.1 source tree on a Windows box. Everything else I tested with sqlite works ok. Cheerio, Marc. Reproduce code: --------------- <?php $handle = sqlite_popen("sqlite.db"); var_dump($handle); $handle = sqlite_popen("sqlite.db"); var_dump($handle); ?> Expected result: ---------------- resource(1) of type (sqlite database (persistent)) resource(1) of type (sqlite database (persistent)) Actual result: -------------- resource(1) of type (sqlite database (persistent)) resource(1) of type (Unknown)