Re: PHP calling PHP? - Mailing list pgsql-php

From Mitch Vincent
Subject Re: PHP calling PHP?
Date
Msg-id 004b01c0d77e$a6cc1e60$1251000a@windows
Whole thread Raw
In response to Re: PHP calling PHP?  (Grant <grant@conprojan.com.au>)
List 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@squiz.net>
To: "Grant" <grant@conprojan.com.au>; <pgsql-php@postgresql.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
>


pgsql-php by date:

Previous
From: Grant
Date:
Subject: Re: PHP calling PHP?
Next
From: "Leonello, Chris (C.R.)"
Date:
Subject: RE: Sessions without cookies