3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $pdo = new \PDO('sqlite::memory:'); $pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_SILENT); $pdo->getAttribute(1);
based on qoaKM
Output for 5.5.0 - 7.2.6
Warning: PDO::getAttribute(): SQLSTATE[IM001]: Driver does not support this function: driver does not support that attribute in /in/0hf0u on line 6