It's just a compatibility problem, but I agree that your solution is the most preferable one (presented so far).
/ Martin Nilsson (Åskblod)
Previous text:
2003-01-23 01:39: Subject: Re: zero_type() & UNDEFINED and _typeof()
If uninitialized values are given a zero type then it shouldn't be 1 since that'd make it impossible to tell if foo in my_object->foo is a nonexisting identifier or an uninitialized variable. Another zero type and another function uninitialized() or something would be necessary.
/ Martin Stjernholm, Roxen IS