PDO::PARAM_INT behaviour in PHP 7.1 & PHP 7.2
问题 When passing a string with PDO::PARAM_INT there seems to be a change of behaviour in PHP 7.2. In Version 7.1 the updated value and the passed string were identical, in PHP 7.2 the updated value is "3" (see example below). Of course I'm aware that passing a string using PDO::PARAM_INT is wrong, but I'm wondering why there is nothing to be found in the PHP changelog and why there is no exception or warning thrown. Does anyone know if this is a desired behaviour? $sql = "UPDATE test SET name =