On Wed, Jan 22, 2003 at 03:40:00AM +0100, David Hedbor @ Pike developers forum wrote:
zero_type(0);
(2) Result: 0
zero_type(UNDEFINED);
(3) Result: 1
But:
typeof(UNDEFINED);
(27) Result: zero
typeof(0);
(28) Result: zero
sprintf("%t", 0);
(29) Result: "int"
sprintf("%t", UNDEFINED);
(30) Result: "int"
A bit unlogical... :)
Regards, /Al