Fix return value docs

This also integrates user note 123394.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346144 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-12-02 13:59:10 +00:00
parent 905ecfca12
commit daee9e9ce9
2 changed files with 4 additions and 3 deletions

View file

@ -18,7 +18,7 @@
Finds a Unicode character by its name and returns its code point value.
</para>
<para>
The name is matched exactly and completely. If the name does not correspond to a code point, &false; is returned.
The name is matched exactly and completely. If the name does not correspond to a code point, &null; is returned.
</para>
<para>
A Unicode 1.0 name is matched only if it differs from the modern name. Unicode names are all uppercase.
@ -58,7 +58,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The Unicode value of the code point with the given name (as an <type>integer</type>), or &false; if there is no such code point.
The Unicode value of the code point with the given name (as an <type>integer</type>), or &null; if there is no such code point.
</para>
</refsect1>

View file

@ -54,7 +54,8 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
The corresponding name, or an empty string if there is no name for this character.
The corresponding name, or an empty string if there is no name for this character,
or &null; if there is no such code point.
</para>
</refsect1>