i've done some experiments...looks like when you serialize, PHP uses these critieria for numbers:
BUT CHECK OUT THIS WACK STUFF...serializing this array...this code:
$arr[0] = 1;
$arr[1] = 2;
$arr[2] = "foo";
$arr[3] = 12343434874.348373872;
$arr[4] = 2147483647;
$arr[5] = 1.1;
$arr[6] = 2147483648;
$arr[7][0] = "first sub array";
$arr[7][1] = "second sub array";
echo "value is " . $arr[3] . "<BR>";
echo(serialize($arr));
returns this:
value is 12343434874.348
a:8:{i:0;i:1;i:1;i:2;i:2;s:3:"foo";i:3;d:12343434874.3483734130859375;i:4;i:2147483647;i:5;d:1.100000000000000088817841970012523233890533447265625;i:6;d:2147483648;i:7;a:2:{i:0;s:15:"first sub array";i:1;s:16:"second sub array";}}
what the heck?? first off, where'd my digits go (i've started another post to ask this question). secondly, WHERE did all those extra digits come from in the serialized form?? since when does 1.1 equal 1.100000000000000088817841970012523233890533447265625???