mirror of
https://github.com/php/php-src.git
synced 2024-10-02 23:36:16 +00:00
22 lines
372 B
Plaintext
22 lines
372 B
Plaintext
|
--TEST--
|
||
|
Testing PDORow and PDOStatement instances with Reflection
|
||
|
--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
|
||
|
}
|