public static function getStrType( $str ) {
		
		if ( null === $str ) {
			return 's';
		}
		
		$chrType = substr((string)gettype($str),0,1);
		return (!in_array($chrType,array("i","d","s"))) ? "b" : $chrType;
		
	}