xref: /PHP-8.4/ext/pdo_odbc/tests/bug67465.phpt (revision 74859783)
1--TEST--
2Bug #67465 (NULL Pointer dereference in odbc_handle_preparer)
3--EXTENSIONS--
4pdo_odbc
5--SKIPIF--
6<?php
7require 'ext/pdo/tests/pdo_test.inc';
8PDOTest::skip();
9?>
10--FILE--
11<?php
12require 'ext/pdo/tests/pdo_test.inc';
13$db = PDOTest::test_factory(dirname(__FILE__) . '/common.phpt');
14$db->prepare("SELECT 1", [PDO::ATTR_CURSOR => PDO::CURSOR_SCROLL]);
15echo "done\n";
16?>
17--EXPECT--
18done
19