Re: cvs: phpdoc /en/reference/var/functions isset.xml
| From: | Gabor Hojtsy | Date: | Sat, 16 Nov 2002 10:04:37 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/var/functions isset.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969349716@lists.php.net to get a copy of this message | ||
> Note: isset only takes on variables. Closes bug #20454
> Also using var_dump() instead of print in examples. Expanded examples a
bit.
>
>
> Index: phpdoc/en/reference/var/functions/isset.xml
> diff -u phpdoc/en/reference/var/functions/isset.xml:1.5
phpdoc/en/reference/var/functions/isset.xml:1.6
> --- phpdoc/en/reference/var/functions/isset.xml:1.5 Sat Jun 1 12:33:45
2002
> +++ phpdoc/en/reference/var/functions/isset.xml Sat Nov 16 02:54:03 2002
> @@ -1,5 +1,5 @@
> <?xml version="1.0" encoding="iso-8859-1"?>
> -<!-- $Revision: 1.5 $ -->
> +<!-- $Revision: 1.6 $ -->
> <!-- splitted from ./en/functions/var.xml, last change in rev 1.2 -->
> <refentry id="function.isset">
> <refnamediv>
> @@ -28,22 +28,44 @@
> return &false; if testing a variable that has been set to &null;.
Also
> note that a &null; byte (<literal>"\0"</literal>) is not
> equivalent
to
> the PHP &null; constant.
> + </para>
> + <note>
> + <title>Warning</title>
> + <para>
> + <function>isset</function> only works with variables as passing
anything
> + else will result in a parse error.
> + </para>
> + </note>
> + <para>
It would be nice to add a see also here, that the "constant's isset
function"
is defined().
Goba