--TEST-- Bug #70221 (persistent sqlite connection + custom function segfaults) --EXTENSIONS-- pdo_sqlite --FILE-- true)); function _test() { return 42; } $db->sqliteCreateFunction('test', '_test', 0); print("Everything is fine, no exceptions here\n"); unset($db); ?> --CLEAN-- --EXPECT-- Everything is fine, no exceptions here