Skip to content

Commit cf3911a

Browse files
committed
fix deprecation warning in pdo_oci test
1 parent c7e37af commit cf3911a

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

ext/pdo_oci/tests/pdo_oci_quote1.phpt

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ $stmt = $db->prepare('select * from poq_tab');
2121
// The intent is that the fetched data be identical to the unquoted string.
2222
// Remember!: use bind variables instead of PDO->quote()
2323

24-
$a = array(null, "", "a", "ab", "abc", "ab'cd", "a\b\n", "'", "''", "a'", "'z", "a''b", '"');
24+
$a = array("", "a", "ab", "abc", "ab'cd", "a\b\n", "'", "''", "a'", "'z", "a''b", '"');
2525
foreach ($a as $u) {
2626
$q = $db->quote($u);
2727
echo "Unquoted : ";
@@ -42,15 +42,6 @@ echo "Done\n";
4242

4343
?>
4444
--EXPECT--
45-
Unquoted : NULL
46-
Quoted : string(2) "''"
47-
array(1) {
48-
[0]=>
49-
array(1) {
50-
["t"]=>
51-
NULL
52-
}
53-
}
5445
Unquoted : string(0) ""
5546
Quoted : string(2) "''"
5647
array(1) {

0 commit comments

Comments
 (0)