Never seen this before. Was unable to find and explanation and I saw it the other day in a code, e.g.:
$statement = $db->prepare("insert into table (col1, col2, col3) values (?, ?, ?)");
$data = array((string) $var1, (string) $var2, (string) $var3);
$statement->execute($data);
See this (string) part? Anyone to shed some light on it, please?
PDO::PARAM_STR