xref: /PHP-7.0/ext/pdo/tests/pdorow.phpt (revision 3ae995f0)
1--TEST--
2Trying instantiate a PDORow object manually
3--SKIPIF--
4<?php if (!extension_loaded('pdo')) die('skip'); ?>
5--FILE--
6<?php
7
8new PDORow;
9
10?>
11--EXPECTF--
12Fatal error: Uncaught PDOException: You may not create a PDORow manually in %spdorow.php:3
13Stack trace:
14#0 %spdorow.php(3): PDORow->__construct()
15#1 {main}
16  thrown in %spdorow.php on line 3
17