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