summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/tests/pdo_dblib_quote.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pdo_dblib/tests/pdo_dblib_quote.phpt')
-rw-r--r--ext/pdo_dblib/tests/pdo_dblib_quote.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pdo_dblib/tests/pdo_dblib_quote.phpt b/ext/pdo_dblib/tests/pdo_dblib_quote.phpt
index c5f2a4b620..582c54c5d2 100644
--- a/ext/pdo_dblib/tests/pdo_dblib_quote.phpt
+++ b/ext/pdo_dblib/tests/pdo_dblib_quote.phpt
@@ -29,10 +29,12 @@ $db = new PDO($dsn, $user, $pass, [PDO::ATTR_DEFAULT_STR_PARAM => PDO::PARAM_STR
var_dump($db->getAttribute(PDO::ATTR_DEFAULT_STR_PARAM) === PDO::PARAM_STR_NATL);
?>
---EXPECT--
+--EXPECTF--
string(3) "'1'"
string(2) "''"
string(4) "'42'"
+
+Deprecated: PDO::quote(): Passing null to parameter #1 ($string) of type string is deprecated in %s on line %d
string(2) "''"
string(4) "''''"
string(5) "'foo'"