php8.5
Home/ Manual/ reference / pdo_ibm/ PDO_IBM Configuration Options

PDO_IBM Configuration Options

PDO_IBM Configuration OptionsNameDefaultChangeableChangelogpdo_ibm.i5_dbcs_alloc"0"INI_SYSTEMAdded in PDO_IBM 1.5.0pdo_ibm.i5_override_ccsid"0"INI_SYSTEMAdded in PDO_IBM 1.5.0 Constants

Runtime Runtime

NameDefaultChangeableChangelog
pdo_ibm.i5_dbcs_alloc"0"INI_SYSTEMAdded in PDO_IBM 1.5.0
pdo_ibm.i5_override_ccsid"0"INI_SYSTEMAdded in PDO_IBM 1.5.0

Constants

Title

pdo_ibm.i5_dbcs_allocint

This options affects the internal buffer allocation strategy on IBM i. By default, this option is 0. When this option is set, buffers are allocated with a much larger size, in case the database is misleading about character size when converting between encodings. This option uses six times as much memory for buffers (to account for the largest possible UTF-8 sequences), but may be needed if truncated data is returned.

  • 0 - Minimum size buffers are allocated.
  • 1 - Larger size buffers are allocated.
pdo_ibm.i5_override_ccsidint

The ASCII CCSID to use for conversion from EBCDIC on IBM i. Setting this to 1208 will use UTF-8. By default, this is 0, which will select the default ASCII job CCSID.

To learn more about CCSIDs on IBM i, consult the IBM documentation.

Source: reference/pdo_ibm/ini.xml · from the official PHP manual (php/doc-en)