>Any specific reason why this >1) gives a warning add_constant() returns void, but hilfe doesn't know about that, and assigns the (nonexistant) returned value to something.
>and >2) doesn't give the expected output? resolv() does not perform any lookup in all_constants(). It performs lookups in _static_modules and the module path.
