xref: /PHP-8.1/ext/pdo_oci/tests/bug41996.phpt (revision 39131219)
1--TEST--
2PDO OCI Bug #41996 (Problem accessing Oracle ROWID)
3--EXTENSIONS--
4pdo
5pdo_oci
6--SKIPIF--
7<?php
8require __DIR__.'/../../pdo/tests/pdo_test.inc';
9PDOTest::skip();
10?>
11--FILE--
12<?php
13require 'ext/pdo/tests/pdo_test.inc';
14$db = PDOTest::test_factory('ext/pdo_oci/tests/common.phpt');
15
16$stmt = $db->prepare('SELECT rowid FROM dual');
17$stmt->execute();
18$row = $stmt->fetch();
19var_dump(strlen($row[0]) > 0);
20?>
21--EXPECT--
22bool(true)
23