Annotation of embedaddon/php/ext/pdo/tests/pdo_036.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Testing PDORow and PDOStatement instances with Reflection
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded('pdo')) die('skip'); ?>
                      5: --FILE--
                      6: <?php
                      7: 
                      8: $instance = new reflectionclass('pdorow');
                      9: $x = $instance->newInstance();
                     10: var_dump($x);
                     11: 
                     12: $instance = new reflectionclass('pdostatement');
                     13: $x = $instance->newInstance();
                     14: var_dump($x);
                     15: 
                     16: ?>
                     17: --EXPECTF--
                     18: object(PDORow)#%d (0) {
                     19: }
                     20: object(PDOStatement)#%d (1) {
                     21:   [%u|b%"queryString"]=>
                     22:   NULL
                     23: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>