One of the more tedious to work with PDO is that it says that some variables are missing

> 
> PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
> 
> 
> 

... but does not tell which ones. Is there any solution to identify them? Eg

```
$sql = "SELECT id, name WHERE id = :id AND name like  :search_tem";

$stmt = $pdo->prepare($sql);
$stmt->bindValue(':id', '1');
$stmt->execute(); // throws exception - "**search_term missing"

```

It's so obvious everyone needs something like this. But I can't a simple solution.