This one time, at band camp, Derick Rethans <[EMAIL PROTECTED]> wrote:
> On Thu, 30 Oct 2003, Filip de Waard wrote:
>
> > Andy,
> >
> > I know the current possibilities and limitations, but i'm wondering why
> > superglobals can't be used in function declarations. Is there a
> > particular reaso
On Thu, 30 Oct 2003, Filip de Waard wrote:
> Andy,
>
> I know the current possibilities and limitations, but i'm wondering why
> superglobals can't be used in function declarations. Is there a
> particular reason for this?
Because PHP just only supports scalar constants there.
Derick
--
"Inte
Andy,
I know the current possibilities and limitations, but i'm wondering why
superglobals can't be used in function declarations. Is there a
particular reason for this?
Regards,
Filip de Waard
On Thu, 2003-10-30 at 11:35, Andi Gutmans wrote:
> Hi,
>
> In general you are only allowed to use sc
Hi,
In general you are only allowed to use scalars as default values. This
won't change.
I suggest you do something like:
function refresh($location = NULL) {
if ($location === NULL) {
$location = $_SERVER['PHP_SELF'];
}
}
At 11:26 AM 10/30/2003 +0100, Filip de Waard wrote:
Hello,