pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mitch Vincent <mitch@venux.net>
To: Chris Smith <csmith@squiz.net>
To: Grant <grant@conprojan.com.au>
To: pgsql-php@postgresql.org
Subject: Re: PHP calling PHP?
Date: Tue, 8 May 2001 01:16:40 -0400
Message-ID: <004b01c0d77e$a6cc1e60$1251000a@windows> (raw)
References: <Pine.LNX.4.21.0105081418340.16608-100000@webster.conprojan.com.au>
	<0105081434340N.00718@area51.cybersydney.com.au>

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
>




view thread (17+ messages)  latest in thread

Message-ID: <004b01c0d77e$a6cc1e60$1251000a@windows>
Permalink:  ../004b01c0d77e$a6cc1e60$1251000a@windows/
Also on:    postgresql.org/message-id/004b01c0d77e$a6cc1e60$1251000a@windows

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: mitch@venux.net, csmith@squiz.net, grant@conprojan.com.au
  Subject: Re: PHP calling PHP?
  In-Reply-To: <004b01c0d77e$a6cc1e60$1251000a@windows>
  References: <Pine.LNX.4.21.0105081418340.16608-100000@webster.conprojan.com.au> <0105081434340N.00718@area51.cybersydney.com.au> <004b01c0d77e$a6cc1e60$1251000a@windows>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox