📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-07-12 01:43:57
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php84-pecl-pdo_oci_1.2.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php84-pecl-pdo_oci_1.2.0-1.el8/tests
🔄 Refresh
✏️
Editing: pecl_bug_11345.phpt
Read Only
--TEST-- PECL PDO_OCI Bug #11345 (Test invalid character set name) --EXTENSIONS-- pdo pdo_oci --SKIPIF-- <?php require(getenv('PDO_TEST_DIR').'/pdo_test.inc'); PDOTest::skip(); ?> --FILE-- <?php // This tests only part of PECL bug 11345. The other part - testing // when the National Language Support (NLS) environment can't be // initialized - is very difficult to test portably. try { $dbh = new PDO('oci:dbname=xxx;charset=yyy', 'abc', 'def'); } catch (PDOException $e) { echo 'Connection failed: ' . $e->getMessage(). "\n"; exit; } echo "Done\n"; ?> --EXPECTF-- Connection failed: SQLSTATE[HY000]: OCINlsCharSetNameToId: unknown character set name (%s)
💾 Save Changes
❌ Cancel