Minor improvements to VARIANT docs

We remove a PHP 4 related paragraph, and cross-link two closely related functions.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348180 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2019-10-18 14:46:58 +00:00
parent 633eac97ff
commit 2b220300c8
2 changed files with 8 additions and 5 deletions

View file

@ -44,12 +44,14 @@
<constant>VT_DISPATCH</constant>; the only reason this function works for
those classes is because COM and DOTNET are descendants of VARIANT.
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
In PHP versions prior to 5, you could obtain this information from
instances of the VARIANT class ONLY, by reading a fake
<parameter>type</parameter> property. See the <xref
linkend="class.variant"/> class for more information on
this.
<simplelist>
<member><function>variant_set_type</function></member>
</simplelist>
</para>
</refsect1>
</refentry>

View file

@ -52,6 +52,7 @@
<para>
<simplelist>
<member><function>variant_cast</function></member>
<member><function>variant_get_type</function></member>
</simplelist>
</para>
</refsect1>