PDO has named parameters (see [man]pdo-prepare[/man] for an example); character escaping is already built into the PDO driver.
If you want to use the SQLite 2 procedural interface, you need to actually do some installation. After all, since all the functionality is supplied through PDO, why duplicate it if you don't have to?