On Fri, Jan 14, 2011 at 01:47:26PM +0100, Coen Schalkwijk wrote:
> I was hoping I'd get 'string' for the type... 

you can not get string if the variable is defined with mixed:

> >>>>mapping(string:mixed) map = ([]);

if you define it as
mapping(string:string) map = ([]);
then typeof() would give you string as a result.

> Now that I've thought it 
> over a bit more: there's no need to know the type of a NULL object in 
> order to deserialize. 

well, you need the type of a variable in order to recreate the variable
with the same type.

greetings, martin.
          • ... Coen Schalkwijk
          • ... Bertrand LUPART
          • ... Coen Schalkwijk
          • ... Coen Schalkwijk
          • ... Coen Schalkwijk
          • ... Martin Bähr
          • ... Coen Schalkwijk
          • ... Martin Bähr
          • ... Coen Schalkwijk
          • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
          • ... Martin Bähr
  • Re:... Martin Bähr
    • ... Martin Nilsson (Opera Mini - AFK!) @ Pike (-) developers forum
      • ... Martin Baehr
        • ... Coen Schalkwijk

Reply via email to