Skip to content

Commit 7a15994

Browse files
cmb69kamil-tekiela
andcommitted
Update ext/mysqli/tests/mysqli_warning_unclonable.phpt
Co-authored-by: Kamil Tekiela <[email protected]>
1 parent c888d69 commit 7a15994

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqli/tests/mysqli_warning_unclonable.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ require_once 'skipifconnectfailure.inc';
2727
printf("[005] [%d] %s\n", mysqli_errno($link), mysqli_error($link));
2828

2929
if (!is_object($warning = mysqli_get_warnings($link)) || 'mysqli_warning' != get_class($warning)) {
30-
printf("[006] Expecting object/mysqli_warning, got %s/%s\n", gettype($tmp), (is_object($tmp) ? var_dump($tmp, true) : $tmp));
30+
printf("[006] Expecting object/mysqli_warning, got %s/%s\n", gettype($warning), (is_object($warning) ? var_export($warning, true) : $warning));
3131
}
3232

3333
$warning_clone = clone $warning;

0 commit comments

Comments
 (0)