Skip to content

Commit 0872e80

Browse files
committed
Merge branch 'PHP-7.1' into PHP-7.2
* PHP-7.1: Improve cleanup
2 parents 91a0a10 + 41c6976 commit 0872e80

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ext/pdo_sqlite/tests/bug70221.phpt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ function _test() { return 42; }
1212
$db->sqliteCreateFunction('test', '_test', 0);
1313
print("Everything is fine, no exceptions here\n");
1414
unset($db);
15-
@unlink($dbfile);
15+
?>
16+
--CLEAN--
17+
<?php
18+
$dbfile = __DIR__ . '/test.sqlite';
19+
unlink($dbfile);
1620
?>
1721
--EXPECT--
1822
Everything is fine, no exceptions here

0 commit comments

Comments
 (0)