--TEST-- Bug #35336 (crash on PDO::FETCH_CLASS + __set()) --EXTENSIONS-- pdo_sqlite --FILE-- query ("CREATE TABLE test (a integer primary key, b text)"); $b = $a->prepare("insert into test (b) values (?)"); $b->execute(array (5)); $rez = $a->query ("SELECT * FROM test")->fetchAll(PDO::FETCH_CLASS, 'EEE'); echo "Done\n"; ?> --EXPECT-- hello world hello world Done