Document IntlChar::NO_NUMERIC_VALUE

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339959 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Chris Wright 2016-08-31 10:30:13 +00:00
parent abdee3b634
commit 384f625642
2 changed files with 15 additions and 2 deletions

View file

@ -54,6 +54,12 @@
<varname linkend="intlchar.constants.codepoint-max">IntlChar::CODEPOINT_MAX</varname>
<initializer>1114111</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>float</type>
<varname linkend="intlchar.constants.no-numeric-value">IntlChar::NO_NUMERIC_VALUE</varname>
<initializer>-123456789</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
@ -3670,6 +3676,13 @@
</listitem>
</varlistentry>
<varlistentry xml:id="intlchar.constants.no-numeric-value">
<term><constant>IntlChar::NO_NUMERIC_VALUE</constant></term>
<listitem>
<para>Special value that is returned by <function>IntlChar::getNumericValue</function> when no numeric value is defined for a code point.</para>
</listitem>
</varlistentry>
<varlistentry xml:id="intlchar.constants.property-alphabetic">
<term><constant>IntlChar::PROPERTY_ALPHABETIC</constant></term>
<listitem>

View file

@ -18,7 +18,7 @@
</para>
<para>
For characters without any numeric values in the Unicode Character Database, this function will return
<type>float</type>(<literal>-123456789</literal>).
<constant>IntlChar::NO_NUMERIC_VALUE</constant>.
</para>
</refsect1>
@ -38,7 +38,7 @@
&reftitle.returnvalues;
<para>
Numeric value of <parameter>codepoint</parameter>,
or <type>float</type>(<literal>-123456789</literal>) if none is defined.
or <constant>IntlChar::NO_NUMERIC_VALUE</constant> if none is defined.
</para>
</refsect1>