<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Predefined Constants</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="iconv.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.iconv.html">iconv Functions</a></div> <div class="up"><a href="book.iconv.html">iconv</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="iconv.constants" class="appendix"> <h1>Predefined Constants</h1> <p class="para"> Since <span class="application">PHP</span> 4.3.0 it is possible to identify at runtime which <em>iconv</em> implementation is adopted by this extension. <table class="doctable table"> <caption><strong><em>iconv</em> constants</strong></caption> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.iconv-impl"> <td><strong><code>ICONV_IMPL</code></strong></td> <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td> <td>The implementation name</td> </tr> <tr id="constant.iconv-version"> <td><strong><code>ICONV_VERSION</code></strong></td> <td><span class="type"><a href="language.types.string.html" class="type string">string</a></span></td> <td>The implementation version</td> </tr> </tbody> </table> </p> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> Writing implementation-dependent scripts with these constants is strongly discouraged. </p> </p></blockquote> <p class="para"> Since <span class="application">PHP</span> 5.0.0, the following constants are also available: <table class="doctable table"> <caption><strong><em>iconv</em> constants available since PHP 5.0.0</strong></caption> <thead> <tr> <th>Name</th> <th>Type</th> <th>Description</th> </tr> </thead> <tbody class="tbody"> <tr id="constant.iconv-mime-decode-strict"> <td><strong><code>ICONV_MIME_DECODE_STRICT</code></strong></td> <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td> <td>A bitmask used for <span class="function"><a href="function.iconv-mime-decode.html" class="function">iconv_mime_decode()</a></span></td> </tr> <tr id="constant.iconv-mime-decode-continue-on-error"> <td><strong><code>ICONV_MIME_DECODE_CONTINUE_ON_ERROR</code></strong></td> <td><span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span></td> <td>A bitmask used for <span class="function"><a href="function.iconv-mime-decode.html" class="function">iconv_mime_decode()</a></span></td> </tr> </tbody> </table> </p> </div> <hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="iconv.resources.html">Resource Types</a></div> <div class="next" style="text-align: right; float: right;"><a href="ref.iconv.html">iconv Functions</a></div> <div class="up"><a href="book.iconv.html">iconv</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>