core/classes/PDO.class.php
private function prepareType($arg){
        if(($arg===null || $arg=='null') && $arg !== 0){
            return 'NULL';
        }//if
        if(!is_numeric($arg)){
            return $this->quote($arg);
        }//if
        return $arg;
    }
private function prepareType($arg){
        if(($arg===null || $arg=='null') && $arg !== 0){
            return 'NULL';
        }//if
        if(!is_numeric($arg)){
            return $this->quote($arg);
        }//if
        return $arg;
    }
private function prepareType ( $ arg ) { if ( ( $ arg === null || $ arg == 'null' ) && $ arg !== 0 ) { return 'NULL' ; } //if if ( ! is_numeric ( $ arg ) ) { return $ this -> quote ( $ arg ) ; } //if return $ arg ; }
Determine the type of variable being bound into the query, either a String or Numeric.


@param  string|int|float $arg  The variable to prepare.

@return string|int|float The $arg prepared.
Determine the type of variable being bound into the query either a String or Numeric .