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;
		
	}
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;
		
	}
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 ; }
Devuelve el tipo para el bind
@param string $str
@return string
Devuelve el tipo para el bind