CVS update: php3/doc/functions

From: Date: Sat, 21 Nov 1998 23:09:07 +0000
Subject: CVS update: php3/doc/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-2523@lists.php.net to get a copy of this message
Date: Saturday November 21, 1998 @ 18:09 Author: cslawi Update of /repository/php3/doc/functions In directory asf:/u2/tmp/cvs-serv12880/functions Modified Files: var.sgml Log Message: Updated some crossrefs, put strval in the right place, and documented unset(). Index: php3/doc/functions/var.sgml diff -c php3/doc/functions/var.sgml:1.9 php3/doc/functions/var.sgml:1.10 *** php3/doc/functions/var.sgml:1.9 Sun Sep 20 16:30:50 1998 --- php3/doc/functions/var.sgml Sat Nov 21 18:09:06 1998 *************** *** 61,67 **** See also <function>doubleval</function>, <function>strval</function>, <function>settype</function> and <link ! linkend="typejuggling">Type juggling</link>. </refsect1> </refentry> --- 61,67 ---- See also <function>doubleval</function>, <function>strval</function>, <function>settype</function> and <link ! linkend="variable-typejuggling">Type juggling</link>. </refsect1> </refentry> *************** *** 89,95 **** See also <function>intval</function>, <function>strval</function>, <function>settype</function> and <link ! linkend="typejuggling">Type juggling</link>. </refsect1> </refentry> --- 89,95 ---- See also <function>intval</function>, <function>strval</function>, <function>settype</function> and <link ! linkend="variable-typejuggling">Type juggling</link>. </refsect1> </refentry> *************** *** 112,151 **** value; true otherwise. <simpara> ! See also <function>isset</function>. </refsect1> </refentry> - <refentry id="function.strval"> - <refnamediv> - <refname>strval</refname> - <refpurpose>Get string value of a variable.</refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <funcsynopsis> - <funcdef>string <function>strval</function></funcdef> - <paramdef>mixed <parameter>var</parameter></paramdef> - </funcsynopsis> - - <simpara> - Returns the string value of <parameter>var</parameter>. - - <simpara> - <parameter>var</parameter> may be any scalar type. You cannot use - <function>strval</function> on arrays or objects. - - <simpara> - See also <function>doubleval</function>, - <function>intval</function>, - <function>settype</function> and <link - linkend="typejuggling">Type juggling</link>. - - </refsect1> - </refentry> - <refentry id="function.is-array"> <refnamediv> <refname>is_array</refname> --- 112,123 ---- value; true otherwise. <simpara> ! See also <function>isset</function> and <function>unset</function>. </refsect1> </refentry> <refentry id="function.is-array"> <refnamediv> <refname>is_array</refname> *************** *** 429,435 **** false otherwise. <simpara> ! See also <function>empty</function>. </refsect1> </refentry> --- 401,407 ---- false otherwise. <simpara> ! See also <function>empty</function> and <function>unset</function>. </refsect1> </refentry> *************** *** 468,473 **** --- 440,506 ---- <para> See also <function>gettype</function>. + </refsect1> + </refentry> + + + <refentry id="function.strval"> + <refnamediv> + <refname>strval</refname> + <refpurpose>Get string value of a variable.</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>string <function>strval</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> + </funcsynopsis> + + <simpara> + Returns the string value of <parameter>var</parameter>. + + <simpara> + <parameter>var</parameter> may be any scalar type. You cannot use + <function>strval</function> on arrays or objects. + + <simpara> + See also <function>doubleval</function>, + <function>intval</function>, + <function>settype</function> and <link + linkend="variable-typejuggling">Type juggling</link>. + + </refsect1> + </refentry> + + + <refentry id="function.unset"> + <refnamediv> + <refname>unset</refname> + <refpurpose>Unset a given variable</refpurpose> + </refnamediv> + <refsect1> + <title>Description</title> + <funcsynopsis> + <funcdef>int <function>unset</function></funcdef> + <paramdef>mixed <parameter>var</parameter></paramdef> + </funcsynopsis> + + <para> + <function>unset</function> destroys the specified variable and + returns true. + + <para> + <example> + <title><function>unset</function> example</title> + <programlisting> + unset( $foo ); + unset( $bar['quux'] ); + </programlisting> + </example> + + <para> + See also <function>isset</function> and <function>empty</function>. + </refsect1> </refentry> -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2523) next »