From: | "Mitch Vincent" <mitch(at)venux(dot)net> |
---|---|
To: | "Chris Smith" <csmith(at)squiz(dot)net>, "Grant" <grant(at)conprojan(dot)com(dot)au>, <pgsql-php(at)postgresql(dot)org> |
Subject: | Re: PHP calling PHP? |
Date: | 2001-05-08 05:16:40 |
Message-ID: | 004b01c0d77e$a6cc1e60$1251000a@windows |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
And furthermore..
"Variable names follow the same rules as other labels in PHP. A valid
variable name starts with a letter or underscore, followed by any number of
letters, numbers, or underscores. As a regular expression, it would be
expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*' "
From the PHP manual -- http://www.php.net/manual/en/language.variables.php
Note that variables can't *start* with a number but can contain numbers
after the first character..
-Mitch
----- Original Message -----
From: "Chris Smith" <csmith(at)squiz(dot)net>
To: "Grant" <grant(at)conprojan(dot)com(dot)au>; <pgsql-php(at)postgresql(dot)org>
Sent: Tuesday, May 08, 2001 12:34 AM
Subject: Re: [PHP] PHP calling PHP?
>
> > > Also, variables cannot have numbers in their name, but a variable
> > > variables workaround allows them to be used. For example:
> >
> > Wrong.
>
> That's helpful. Why? Example?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://www.postgresql.org/search.mpl
>
From | Date | Subject | |
---|---|---|---|
Next Message | Leonello, Chris (C.R.) | 2001-05-08 16:49:00 | RE: Sessions without cookies |
Previous Message | Grant | 2001-05-08 04:42:09 | Re: PHP calling PHP? |