typo
[m6w6/ext-pq] / tests / res001.phpt
1 --TEST--
2 empty result
3 --SKIPIF--
4 <?php
5 include "_skipif.inc";
6 ?>
7 --FILE--
8 <?php
9 echo "Test\n";
10
11 include "_setup.inc";
12
13 class r extends pq\Result {
14 public $dummy = 2;
15 }
16
17 var_dump(new pq\Result, get_object_vars(new r));
18 ?>
19 Done
20 --EXPECTF--
21 Test
22
23 Warning: pq\Result not initialized in %s on line %d
24
25 Warning: pq\Result not initialized in %s on line %d
26
27 Warning: pq\Result not initialized in %s on line %d
28
29 Warning: pq\Result not initialized in %s on line %d
30
31 Warning: pq\Result not initialized in %s on line %d
32
33 Warning: pq\Result not initialized in %s on line %d
34
35 Warning: pq\Result not initialized in %s on line %d
36
37 Warning: pq\Result not initialized in %s on line %d
38
39 Warning: pq\Result not initialized in %s on line %d
40
41 Warning: pq\Result not initialized in %s on line %d
42
43 Warning: pq\Result not initialized in %s on line %d
44
45 Warning: pq\Result not initialized in %s on line %d
46
47 Warning: pq\Result not initialized in %s on line %d
48
49 Warning: pq\Result not initialized in %s on line %d
50
51 Warning: pq\Result not initialized in %s on line %d
52 object(pq\Result)#%d (7) {
53 ["status"]=>
54 NULL
55 ["statusMessage"]=>
56 NULL
57 ["errorMessage"]=>
58 NULL
59 ["numRows"]=>
60 int(0)
61 ["numCols"]=>
62 int(0)
63 ["affectedRows"]=>
64 int(0)
65 ["fetchType"]=>
66 int(0)
67 }
68 array(8) {
69 ["dummy"]=>
70 int(2)
71 ["status"]=>
72 NULL
73 ["statusMessage"]=>
74 NULL
75 ["errorMessage"]=>
76 NULL
77 ["numRows"]=>
78 int(0)
79 ["numCols"]=>
80 int(0)
81 ["affectedRows"]=>
82 int(0)
83 ["fetchType"]=>
84 int(0)
85 }
86 Done