Skip to content

Commit 64368f4

Browse files
committed
Fix newly introduced test for Windows
The warning message is rather different there, but since that is irrelevant for this test case, we just suppress the warning.
1 parent d721615 commit 64368f4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/mysqli/tests/mysqli_incomplete_initialization.phpt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ require_once('skipif.inc');
88
<?php
99

1010
$mysqli = new mysqli();
11-
$mysqli->__construct(null);
11+
@$mysqli->__construct(null);
1212
$mysqli->close();
1313

1414
?>
1515
--EXPECTF--
16-
Warning: mysqli::__construct(): (HY000/2002): No such file or directory in %s on line %d
17-
1816
Fatal error: Uncaught Error: mysqli object is not fully initialized in %s:%d
1917
Stack trace:
2018
#0 %s(%d): mysqli->close()

0 commit comments

Comments
 (0)