Source of: /manual/en/iconv.constants.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.iconv.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'iconv.constants.php',
1 => 'Predefined Constants',
),
'up' =>
array (
0 => 'book.iconv.php',
1 => 'iconv',
),
'prev' =>
array (
0 => 'iconv.resources.php',
1 => 'Resource Types',
),
'next' =>
array (
0 => 'ref.iconv.php',
1 => 'iconv Functions',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Predefined Constants</h1>
<p class="para">
Since <span class="application">PHP</span> 4.3.0 it is possible to identify at
runtime which <i>iconv</i> implementation is adopted by this extension.
</p><table class="doctable table">
<caption><b><i>iconv</i> constants</b></caption>
<thead valign="middle">
<tr valign="middle">
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td align="left"><b><tt class="constant">ICONV_IMPL</tt></b></td>
<td align="left"><a href="language.types.string.php" class="type string">string</a></td>
<td align="left">The implementation name</td>
</tr>
<tr valign="middle">
<td align="left"><b><tt class="constant">ICONV_VERSION</tt></b></td>
<td align="left"><a href="language.types.string.php" class="type string">string</a></td>
<td align="left">The implementation version</td>
</tr>
</tbody>
</table>
<p>
</p>
<blockquote><p><b class="note">Note</b>:
Writing implementation-dependent scripts with these constants is strongly
discouraged.
<br />
</p></blockquote>
<p class="para">
Since <span class="application">PHP</span> 5.0.0, the following constants are
also available:
</p><table class="doctable table">
<caption><b><i>iconv</i> constants available since PHP 5.0.0</b></caption>
<thead valign="middle">
<tr valign="middle">
<th>Name</th>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td align="left"><b><tt class="constant">ICONV_MIME_DECODE_STRICT</tt></b></td>
<td align="left"><a href="language.types.integer.php" class="type integer">integer</a></td>
<td align="left">A bitmask used for <a href="function.iconv-mime-decode.php" class="function">iconv_mime_decode()</a></td>
</tr>
<tr valign="middle">
<td align="left"><b><tt class="constant">ICONV_MIME_DECODE_CONTINUE_ON_ERROR</tt></b></td>
<td align="left"><a href="language.types.integer.php" class="type integer">integer</a></td>
<td align="left">A bitmask used for <a href="function.iconv-mime-decode.php" class="function">iconv_mime_decode()</a></td>
</tr>
</tbody>
</table>
<p>
</p>
</div>
<?php manual_footer(); ?>