We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5af3c8 commit 0f7bfcaCopy full SHA for 0f7bfca
ext/dba/tests/gh18247.phpt
@@ -0,0 +1,12 @@
1
+--TEST--
2
+GH-18247: dba_open() memory leak on invalid path
3
+--EXTENSIONS--
4
+dba
5
+--FILE--
6
+<?php
7
+var_dump(dba_popen('/inexistent', 'r'));
8
+?>
9
+--EXPECTF--
10
+
11
+Warning: dba_popen(/inexistent): Failed to open stream: No such file or directory in %s on line %d
12
+bool(false)
0 commit comments