2015-08-09 01:17:44 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<refentry xml:id= "intlchar.isidignorable" xmlns= "http://docbook.org/ns/docbook" xmlns:xlink= "http://www.w3.org/1999/xlink" >
<refnamediv >
<refname > IntlChar::isIDIgnorable</refname>
2015-09-08 01:07:12 +00:00
<refpurpose > Check if code point is an ignorable character</refpurpose>
2015-08-09 01:17:44 +00:00
</refnamediv>
<refsect1 role= "description" >
&reftitle.description;
<methodsynopsis >
<modifier > public</modifier> <modifier > static</modifier> <type > bool</type> <methodname > IntlChar::isIDIgnorable</methodname>
<methodparam > <type > mixed</type> <parameter > codepoint</parameter> </methodparam>
</methodsynopsis>
<para >
2015-09-08 01:07:12 +00:00
Determines if the specified character should be regarded as an ignorable character in an identifier.
2015-08-09 01:17:44 +00:00
</para>
2015-09-08 01:07:12 +00:00
<para >
&true; for characters with general category "Cf" (format controls) as well as non-whitespace ISO controls (U+0000..U+0008, U+000E..U+001B, U+007F..U+009F).
</para>
<note >
<para >
Note that Unicode just recommends to ignore Cf (format controls).
</para>
</note>
2015-08-09 01:17:44 +00:00
</refsect1>
<refsect1 role= "parameters" >
&reftitle.parameters;
<variablelist >
<varlistentry >
<term > <parameter > codepoint</parameter> </term>
<listitem >
2015-09-08 01:07:12 +00:00
&intl.codepoint.parameter;
2015-08-09 01:17:44 +00:00
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1 role= "returnvalues" >
&reftitle.returnvalues;
<para >
2015-09-08 01:07:12 +00:00
Returns &true; if
<parameter > codepoint</parameter> is ignorable in identifiers, &false; if not.
2015-08-09 01:17:44 +00:00
</para>
</refsect1>
2015-09-08 01:07:12 +00:00
<refsect1 role= "examples" >
&reftitle.examples;
<example >
<title > &intl.codepoint.example; </title>
<programlisting role= "php" >
< ![CDATA[
< ?php
var_dump(IntlChar::isIDIgnorable("A"));
var_dump(IntlChar::isIDIgnorable(" "));
var_dump(IntlChar::isIDIgnorable("\u{007F}"));
?>
]]>
</programlisting>
&example.outputs;
<screen >
< ![CDATA[
bool(false)
bool(false)
bool(true)
]]>
</screen>
</example>
</refsect1>
<refsect1 role= "seealso" >
&reftitle.seealso;
<para >
<simplelist >
<member > <function > IntlChar::isIDStart</function> </member>
<member > <function > IntlChar::isIDPart</function> </member>
<member > <constant > IntlChar::PROPERTY_DEFAULT_IGNORABLE_CODE_POINT</constant> </member>
</simplelist>
</para>
</refsect1>
2015-08-09 01:17:44 +00:00
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->