[sr-dev] git:5.3:ac16e217: core: str2int() test first if result is null, otherwise init it to 0