[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    [PHP] Re: undefined variable
From:       Tim Streater <tim () clothears ! org ! uk>
Date:       2014-02-20 12:45:00
Message-ID: E1WGT0B-0005gA-OQ () mailscan5 ! hi ! local
[Download RAW message or body]

On 20 Feb 2014 at 12:28, Stuart Dallas <stuart@3ft9.com> wrote: 

> On 20 Feb 2014, at 12:25, Tim Streater <tim@clothears.org.uk> wrote:

>> My question is, under what conditions can a variable be set by the PHP system
>> to the string "undefined"? Would this require that my ajax call in the
>> browser would have to have had something explicit like:
>>
>>  ... &PTR_fcc=undefined …
>
> Not explicit as such, but that is what's happening. Javascript will use the
> string "undefined" whenever an undefined variable is concatenated on to a
> string.

Stuart,

Thanks for that - that really narrows down where I need to look.

--
Cheers  --  Tim



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic