addCollector(new PDOCollector($pdo)); $debugbar['pdo']->setDurationBackground(true); $pdo->exec('create table users (name varchar)'); $stmt = $pdo->prepare('insert into users (name) values (?)'); $stmt->execute(array('foo')); $stmt->execute(array('bar')); $users = $pdo->query('select * from users')->fetchAll(); $stmt = $pdo->prepare('select * from users where name=?'); $stmt->execute(array('foo')); $foo = $stmt->fetch(); $stmt = $pdo->prepare('select * from users where name=?'); $stmt->execute(array('')); $foo = $stmt->fetch(); $pdo->exec('delete from users'); render_demo_page();