Changed the isset documentation as described in bug #12978

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@69627 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Andy Lindeman 2002-02-06 17:04:59 +00:00
parent 7f211c9f1e
commit e8317e29fc

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.92 $ -->
<!-- $Revision: 1.93 $ -->
<reference id="ref.variables">
<title>Variable Functions</title>
<titleabbrev>Variables</titleabbrev>
@ -792,6 +792,8 @@ show_var($proteins)
<methodsynopsis>
<type>boolean</type><methodname>isset</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam choice="opt"><parameter>...</parameter></methodparam>
</methodsynopsis>
<simpara>
Returns &true; if <parameter>var</parameter>
@ -807,13 +809,19 @@ show_var($proteins)
<programlisting role="php">
<![CDATA[
$a = "test";
$b = "anothertest";
echo isset ($a); // TRUE
echo isset ($a, $b) //TRUE
unset ($a);
echo isset ($a); // FALSE
echo isset ($a, $b); //FALSE
$foo = NULL;
print isset ($foo); // FALSE
]]>
</programlisting>
</informalexample>