1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Files
archived-php-src/ext/pdo/tests/pdo_036.phpt
T
Pierre Joye 0878034b62 - add skipif
2011-09-06 06:50:56 +00:00

24 lines
435 B
PHP

--TEST--
Testing PDORow and PDOStatement instances with Reflection
--SKIPIF--
<?php if (!extension_loaded('pdo')) die('skip'); ?>
--FILE--
<?php
$instance = new reflectionclass('pdorow');
$x = $instance->newInstance();
var_dump($x);
$instance = new reflectionclass('pdostatement');
$x = $instance->newInstance();
var_dump($x);
?>
--EXPECTF--
object(PDORow)#%d (0) {
}
object(PDOStatement)#%d (1) {
[%u|b%"queryString"]=>
NULL
}