--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$x = $db->query('select 1 as queryString');
var_dump($x, $x->queryString);
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$x = $db->query('select 1 as queryStringxx');
$y = $x->fetch(PDO::FETCH_LAZY);
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$db->exec('CREATE TABLE test(field BLOB)');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$x= $db->prepare('select :a, :b, ?');
$x->bindValue(':a', 1, PDO::PARAM_INT);
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->query('CREATE TABLE IF NOT EXISTS foobar (id INT AUTO INCREMENT, name TEXT)');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->query('CREATE TABLE IF NOT EXISTS foo (id INT AUTO INCREMENT, name TEXT)');
$db->query('INSERT INTO foo VALUES (NULL, "PHP")');
$db->query('INSERT INTO foo VALUES (NULL, "PHP6")');
--FILE--
<?php
-$db = new pdo('sqlite::memory:');
+$db = new PDO('sqlite::memory:');
$db->beginTransaction();