reference/pdo/constants.xml
cb14980cc2b64fdb2f04d8d49e09f8d374815c35
...
...
@@ -4,17 +4,11 @@
4
4
<appendix xml:id="pdo.constants" xmlns="http://docbook.org/ns/docbook">
5
5
&reftitle.constants;
6
6
&extension.constants;
7
-
<warning>
8
-
<para>
9
-
PDO uses class constants since PHP 5.1. Prior releases use global constants
10
-
in the form <constant>PDO_PARAM_BOOL</constant>.
11
-
</para>
12
-
</warning>
13
7
<variablelist>
14
8
<varlistentry xml:id="pdo.constants.param-bool">
15
9
<term>
16
10
<constant>PDO::PARAM_BOOL</constant>
17
-
(<type>integer</type>)
11
+
(<type>int</type>)
18
12
</term>
19
13
<listitem>
20
14
<simpara>
...
...
@@ -25,7 +19,7 @@
25
19
<varlistentry xml:id="pdo.constants.param-null">
26
20
<term>
27
21
<constant>PDO::PARAM_NULL</constant>
28
-
(<type>integer</type>)
22
+
(<type>int</type>)
29
23
</term>
30
24
<listitem>
31
25
<simpara>
...
...
@@ -36,7 +30,7 @@
36
30
<varlistentry xml:id="pdo.constants.param-int">
37
31
<term>
38
32
<constant>PDO::PARAM_INT</constant>
39
-
(<type>integer</type>)
33
+
(<type>int</type>)
40
34
</term>
41
35
<listitem>
42
36
<simpara>
...
...
@@ -47,7 +41,7 @@
47
41
<varlistentry xml:id="pdo.constants.param-str">
48
42
<term>
49
43
<constant>PDO::PARAM_STR</constant>
50
-
(<type>integer</type>)
44
+
(<type>int</type>)
51
45
</term>
52
46
<listitem>
53
47
<simpara>
...
...
@@ -58,7 +52,7 @@
58
52
<varlistentry xml:id="pdo.constants.param-str-natl">
59
53
<term>
60
54
<constant>PDO::PARAM_STR_NATL</constant>
61
-
(<type>integer</type>)
55
+
(<type>int</type>)
62
56
</term>
63
57
<listitem>
64
58
<simpara>
...
...
@@ -72,7 +66,7 @@
72
66
<varlistentry xml:id="pdo.constants.param-str-char">
73
67
<term>
74
68
<constant>PDO::PARAM_STR_CHAR</constant>
75
-
(<type>integer</type>)
69
+
(<type>int</type>)
76
70
</term>
77
71
<listitem>
78
72
<simpara>
...
...
@@ -86,7 +80,7 @@
86
80
<varlistentry xml:id="pdo.constants.param-lob">
87
81
<term>
88
82
<constant>PDO::PARAM_LOB</constant>
89
-
(<type>integer</type>)
83
+
(<type>int</type>)
90
84
</term>
91
85
<listitem>
92
86
<simpara>
...
...
@@ -97,7 +91,7 @@
97
91
<varlistentry xml:id="pdo.constants.param-stmt">
98
92
<term>
99
93
<constant>PDO::PARAM_STMT</constant>
100
-
(<type>integer</type>)
94
+
(<type>int</type>)
101
95
</term>
102
96
<listitem>
103
97
<simpara>
...
...
@@ -108,7 +102,7 @@
108
102
<varlistentry xml:id="pdo.constants.param-input-output">
109
103
<term>
110
104
<constant>PDO::PARAM_INPUT_OUTPUT</constant>
111
-
(<type>integer</type>)
105
+
(<type>int</type>)
112
106
</term>
113
107
<listitem>
114
108
<simpara>
...
...
@@ -118,24 +112,37 @@
118
112
</simpara>
119
113
</listitem>
120
114
</varlistentry>
115
+
<varlistentry xml:id="pdo.constants.fetch-default">
116
+
<term>
117
+
<constant>PDO::FETCH_DEFAULT</constant>
118
+
(<type>int</type>)
119
+
</term>
120
+
<listitem>
121
+
<simpara>
122
+
Specifies that the default fetch mode shall be used. Available as of PHP 8.0.7.
123
+
</simpara>
124
+
</listitem>
125
+
</varlistentry>
121
126
<varlistentry xml:id="pdo.constants.fetch-lazy">
122
127
<term>
123
128
<constant>PDO::FETCH_LAZY</constant>
124
-
(<type>integer</type>)
129
+
(<type>int</type>)
125
130
</term>
126
131
<listitem>
127
132
<simpara>
128
133
Specifies that the fetch method shall return each row as an object with
129
-
variable names that correspond to the column names returned in the result
130
-
set. <constant>PDO::FETCH_LAZY</constant> creates the object variable names as they are accessed.
131
-
Not valid inside <function>PDOStatement::fetchAll</function>.
134
+
property names that correspond to the column names returned in the result set.
135
+
<constant>PDO::FETCH_LAZY</constant> returns
136
+
a <classname>PDORow</classname> object
137
+
which creates the object property names as they are accessed.
138
+
Not valid inside <methodname>PDOStatement::fetchAll</methodname>.
132
139
</simpara>
133
140
</listitem>
134
141
</varlistentry>
135
142
<varlistentry xml:id="pdo.constants.fetch-assoc">
136
143
<term>
137
144
<constant>PDO::FETCH_ASSOC</constant>
138
-
(<type>integer</type>)
145
+
(<type>int</type>)
139
146
</term>
140
147
<listitem>
141
148
<simpara>
...
...
@@ -150,7 +157,7 @@
150
157
<varlistentry xml:id="pdo.constants.fetch-named">
151
158
<term>
152
159
<constant>PDO::FETCH_NAMED</constant>
153
-
(<type>integer</type>)
160
+
(<type>int</type>)
154
161
</term>
155
162
<listitem>
156
163
<simpara>
...
...
@@ -165,7 +172,7 @@
165
172
<varlistentry xml:id="pdo.constants.fetch-num">
166
173
<term>
167
174
<constant>PDO::FETCH_NUM</constant>
168
-
(<type>integer</type>)
175
+
(<type>int</type>)
169
176
</term>
170
177
<listitem>
171
178
<simpara>
...
...
@@ -178,7 +185,7 @@
178
185
<varlistentry xml:id="pdo.constants.fetch-both">
179
186
<term>
180
187
<constant>PDO::FETCH_BOTH</constant>
181
-
(<type>integer</type>)
188
+
(<type>int</type>)
182
189
</term>
183
190
<listitem>
184
191
<simpara>
...
...
@@ -191,7 +198,7 @@
191
198
<varlistentry xml:id="pdo.constants.fetch-obj">
192
199
<term>
193
200
<constant>PDO::FETCH_OBJ</constant>
194
-
(<type>integer</type>)
201
+
(<type>int</type>)
195
202
</term>
196
203
<listitem>
197
204
<simpara>
...
...
@@ -204,21 +211,21 @@
204
211
<varlistentry xml:id="pdo.constants.fetch-bound">
205
212
<term>
206
213
<constant>PDO::FETCH_BOUND</constant>
207
-
(<type>integer</type>)
214
+
(<type>int</type>)
208
215
</term>
209
216
<listitem>
210
217
<simpara>
211
218
Specifies that the fetch method shall return TRUE and assign the values of
212
219
the columns in the result set to the PHP variables to which they were
213
-
bound with the <function>PDOStatement::bindParam</function> or
214
-
<function>PDOStatement::bindColumn</function> methods.
220
+
bound with the <methodname>PDOStatement::bindParam</methodname> or
221
+
<methodname>PDOStatement::bindColumn</methodname> methods.
215
222
</simpara>
216
223
</listitem>
217
224
</varlistentry>
218
225
<varlistentry xml:id="pdo.constants.fetch-column">
219
226
<term>
220
227
<constant>PDO::FETCH_COLUMN</constant>
221
-
(<type>integer</type>)
228
+
(<type>int</type>)
222
229
</term>
223
230
<listitem>
224
231
<simpara>
...
...
@@ -230,7 +237,7 @@
230
237
<varlistentry xml:id="pdo.constants.fetch-class">
231
238
<term>
232
239
<constant>PDO::FETCH_CLASS</constant>
233
-
(<type>integer</type>)
240
+
(<type>int</type>)
234
241
</term>
235
242
<listitem>
236
243
<simpara>
...
...
@@ -249,7 +256,7 @@
249
256
<varlistentry xml:id="pdo.constants.fetch-into">
250
257
<term>
251
258
<constant>PDO::FETCH_INTO</constant>
252
-
(<type>integer</type>)
259
+
(<type>int</type>)
253
260
</term>
254
261
<listitem>
255
262
<simpara>
...
...
@@ -261,19 +268,19 @@
261
268
<varlistentry xml:id="pdo.constants.fetch-func">
262
269
<term>
263
270
<constant>PDO::FETCH_FUNC</constant>
264
-
(<type>integer</type>)
271
+
(<type>int</type>)
265
272
</term>
266
273
<listitem>
267
274
<simpara>
268
275
Allows completely customize the way data is treated on the fly (only
269
-
valid inside <function>PDOStatement::fetchAll</function>).
276
+
valid inside <methodname>PDOStatement::fetchAll</methodname>).
270
277
</simpara>
271
278
</listitem>
272
279
</varlistentry>
273
280
<varlistentry xml:id="pdo.constants.fetch-group">
274
281
<term>
275
282
<constant>PDO::FETCH_GROUP</constant>
276
-
(<type>integer</type>)
283
+
(<type>int</type>)
277
284
</term>
278
285
<listitem>
279
286
<simpara>
...
...
@@ -286,7 +293,7 @@
286
293
<varlistentry xml:id="pdo.constants.fetch-unique">
287
294
<term>
288
295
<constant>PDO::FETCH_UNIQUE</constant>
289
-
(<type>integer</type>)
296
+
(<type>int</type>)
290
297
</term>
291
298
<listitem>
292
299
<simpara>
...
...
@@ -298,12 +305,12 @@
298
305
<varlistentry xml:id="pdo.constants.fetch-key-pair">
299
306
<term>
300
307
<constant>PDO::FETCH_KEY_PAIR</constant>
301
-
(<type>integer</type>)
308
+
(<type>int</type>)
302
309
</term>
303
310
<listitem>
304
311
<simpara>
305
312
Fetch a two-column result into an array where the first column is a key and the second column
306
-
is the value. Available since PHP 5.2.3.
313
+
is the value.
307
314
</simpara>
308
315
</listitem>
309
316
</varlistentry>
...
...
@@ -311,7 +318,7 @@
311
318
<varlistentry xml:id="pdo.constants.fetch-classtype">
312
319
<term>
313
320
<constant>PDO::FETCH_CLASSTYPE</constant>
314
-
(<type>integer</type>)
321
+
(<type>int</type>)
315
322
</term>
316
323
<listitem>
317
324
<simpara>
...
...
@@ -322,31 +329,31 @@
322
329
<varlistentry xml:id="pdo.constants.fetch-serialize">
323
330
<term>
324
331
<constant>PDO::FETCH_SERIALIZE</constant>
325
-
(<type>integer</type>)
332
+
(<type>int</type>)
326
333
</term>
327
334
<listitem>
328
335
<simpara>
329
336
As <constant>PDO::FETCH_INTO</constant> but object is provided as a serialized string.
330
-
Available since PHP 5.1.0. Since PHP 5.3.0 the class constructor is never called if this
331
-
flag is set.
337
+
The class constructor is never called if this flag is set.
338
+
Deprecated as of PHP 8.1.0.
332
339
</simpara>
333
340
</listitem>
334
341
</varlistentry>
335
342
<varlistentry xml:id="pdo.constants.fetch-props-late">
336
343
<term>
337
344
<constant>PDO::FETCH_PROPS_LATE</constant>
338
-
(<type>integer</type>)
345
+
(<type>int</type>)
339
346
</term>
340
347
<listitem>
341
348
<simpara>
342
-
Call the constructor before setting properties. Available since PHP 5.2.0.
349
+
Call the constructor before setting properties.
343
350
</simpara>
344
351
</listitem>
345
352
</varlistentry>
346
353
<varlistentry xml:id="pdo.constants.attr-autocommit">
347
354
<term>
348
355
<constant>PDO::ATTR_AUTOCOMMIT</constant>
349
-
(<type>integer</type>)
356
+
(<type>int</type>)
350
357
</term>
351
358
<listitem>
352
359
<simpara>
...
...
@@ -358,7 +365,7 @@
358
365
<varlistentry xml:id="pdo.constants.attr-prefetch">
359
366
<term>
360
367
<constant>PDO::ATTR_PREFETCH</constant>
361
-
(<type>integer</type>)
368
+
(<type>int</type>)
362
369
</term>
363
370
<listitem>
364
371
<simpara>
...
...
@@ -372,7 +379,7 @@
372
379
<varlistentry xml:id="pdo.constants.attr-timeout">
373
380
<term>
374
381
<constant>PDO::ATTR_TIMEOUT</constant>
375
-
(<type>integer</type>)
382
+
(<type>int</type>)
376
383
</term>
377
384
<listitem>
378
385
<simpara>
...
...
@@ -383,7 +390,7 @@
383
390
<varlistentry xml:id="pdo.constants.attr-errmode">
384
391
<term>
385
392
<constant>PDO::ATTR_ERRMODE</constant>
386
-
(<type>integer</type>)
393
+
(<type>int</type>)
387
394
</term>
388
395
<listitem>
389
396
<simpara>
...
...
@@ -395,7 +402,7 @@
395
402
<varlistentry xml:id="pdo.constants.attr-server-version">
396
403
<term>
397
404
<constant>PDO::ATTR_SERVER_VERSION</constant>
398
-
(<type>integer</type>)
405
+
(<type>int</type>)
399
406
</term>
400
407
<listitem>
401
408
<simpara>
...
...
@@ -407,7 +414,7 @@
407
414
<varlistentry xml:id="pdo.constants.attr-client-version">
408
415
<term>
409
416
<constant>PDO::ATTR_CLIENT_VERSION</constant>
410
-
(<type>integer</type>)
417
+
(<type>int</type>)
411
418
</term>
412
419
<listitem>
413
420
<simpara>
...
...
@@ -419,7 +426,7 @@
419
426
<varlistentry xml:id="pdo.constants.attr-server-info">
420
427
<term>
421
428
<constant>PDO::ATTR_SERVER_INFO</constant>
422
-
(<type>integer</type>)
429
+
(<type>int</type>)
423
430
</term>
424
431
<listitem>
425
432
<simpara>
...
...
@@ -431,7 +438,7 @@
431
438
<varlistentry xml:id="pdo.constants.attr-connection-status">
432
439
<term>
433
440
<constant>PDO::ATTR_CONNECTION_STATUS</constant>
434
-
(<type>integer</type>)
441
+
(<type>int</type>)
435
442
</term>
436
443
<listitem>
437
444
<simpara>
...
...
@@ -442,7 +449,7 @@
442
449
<varlistentry xml:id="pdo.constants.attr-case">
443
450
<term>
444
451
<constant>PDO::ATTR_CASE</constant>
445
-
(<type>integer</type>)
452
+
(<type>int</type>)
446
453
</term>
447
454
<listitem>
448
455
<simpara>
...
...
@@ -454,7 +461,7 @@
454
461
<varlistentry xml:id="pdo.constants.attr-cursor-name">
455
462
<term>
456
463
<constant>PDO::ATTR_CURSOR_NAME</constant>
457
-
(<type>integer</type>)
464
+
(<type>int</type>)
458
465
</term>
459
466
<listitem>
460
467
<simpara>
...
...
@@ -466,7 +473,7 @@
466
473
<varlistentry xml:id="pdo.constants.attr-cursor">
467
474
<term>
468
475
<constant>PDO::ATTR_CURSOR</constant>
469
-
(<type>integer</type>)
476
+
(<type>int</type>)
470
477
</term>
471
478
<listitem>
472
479
<simpara>
...
...
@@ -482,7 +489,7 @@
482
489
<varlistentry xml:id="pdo.constants.attr-driver-name">
483
490
<term>
484
491
<constant>PDO::ATTR_DRIVER_NAME</constant>
485
-
(<type>string</type>)
492
+
(<type>int</type>)
486
493
</term>
487
494
<listitem>
488
495
<simpara>
...
...
@@ -506,7 +513,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
506
513
<varlistentry xml:id="pdo.constants.attr-oracle-nulls">
507
514
<term>
508
515
<constant>PDO::ATTR_ORACLE_NULLS</constant>
509
-
(<type>integer</type>)
516
+
(<type>int</type>)
510
517
</term>
511
518
<listitem>
512
519
<simpara>
...
...
@@ -517,7 +524,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
517
524
<varlistentry xml:id="pdo.constants.attr-persistent">
518
525
<term>
519
526
<constant>PDO::ATTR_PERSISTENT</constant>
520
-
(<type>integer</type>)
527
+
(<type>int</type>)
521
528
</term>
522
529
<listitem>
523
530
<simpara>
...
...
@@ -530,7 +537,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
530
537
<varlistentry xml:id="pdo.constants.attr-statement-class">
531
538
<term>
532
539
<constant>PDO::ATTR_STATEMENT_CLASS</constant>
533
-
(<type>integer</type>)
540
+
(<type>int</type>)
534
541
</term>
535
542
<listitem>
536
543
<simpara>
...
...
@@ -541,7 +548,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
541
548
<varlistentry xml:id="pdo.constants.attr-fetch-catalog-names">
542
549
<term>
543
550
<constant>PDO::ATTR_FETCH_CATALOG_NAMES</constant>
544
-
(<type>integer</type>)
551
+
(<type>int</type>)
545
552
</term>
546
553
<listitem>
547
554
<simpara>
...
...
@@ -555,7 +562,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
555
562
<varlistentry xml:id="pdo.constants.attr-fetch-table-names">
556
563
<term>
557
564
<constant>PDO::ATTR_FETCH_TABLE_NAMES</constant>
558
-
(<type>integer</type>)
565
+
(<type>int</type>)
559
566
</term>
560
567
<listitem>
561
568
<simpara>
...
...
@@ -569,7 +576,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
569
576
<varlistentry xml:id="pdo.constants.attr-stringify-fetches">
570
577
<term>
571
578
<constant>PDO::ATTR_STRINGIFY_FETCHES</constant>
572
-
(<type>integer</type>)
579
+
(<type>int</type>)
573
580
</term>
574
581
<listitem>
575
582
<simpara>
...
...
@@ -580,7 +587,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
580
587
<varlistentry xml:id="pdo.constants.attr-max-column-len">
581
588
<term>
582
589
<constant>PDO::ATTR_MAX_COLUMN_LEN</constant>
583
-
(<type>integer</type>)
590
+
(<type>int</type>)
584
591
</term>
585
592
<listitem>
586
593
<simpara>
...
...
@@ -591,29 +598,29 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
591
598
<varlistentry xml:id="pdo.constants.attr-default-fetch-mode">
592
599
<term>
593
600
<constant>PDO::ATTR_DEFAULT_FETCH_MODE</constant>
594
-
(<type>integer</type>)
601
+
(<type>int</type>)
595
602
</term>
596
603
<listitem>
597
604
<simpara>
598
-
Available since PHP 5.2.0
605
+

599
606
</simpara>
600
607
</listitem>
601
608
</varlistentry>
602
609
<varlistentry xml:id="pdo.constants.attr-emulate-prepares">
603
610
<term>
604
611
<constant>PDO::ATTR_EMULATE_PREPARES</constant>
605
-
(<type>integer</type>)
612
+
(<type>int</type>)
606
613
</term>
607
614
<listitem>
608
615
<simpara>
609
-
Available since PHP 5.1.3.
616
+

610
617
</simpara>
611
618
</listitem>
612
619
</varlistentry>
613
620
<varlistentry xml:id="pdo.constants.attr-default-str-param">
614
621
<term>
615
622
<constant>PDO::ATTR_DEFAULT_STR_PARAM</constant>
616
-
(<type>integer</type>)
623
+
(<type>int</type>)
617
624
</term>
618
625
<listitem>
619
626
<simpara>
...
...
@@ -628,7 +635,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
628
635
<varlistentry xml:id="pdo.constants.errmode-silent">
629
636
<term>
630
637
<constant>PDO::ERRMODE_SILENT</constant>
631
-
(<type>integer</type>)
638
+
(<type>int</type>)
632
639
</term>
633
640
<listitem>
634
641
<simpara>
...
...
@@ -642,7 +649,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
642
649
<varlistentry xml:id="pdo.constants.errmode-warning">
643
650
<term>
644
651
<constant>PDO::ERRMODE_WARNING</constant>
645
-
(<type>integer</type>)
652
+
(<type>int</type>)
646
653
</term>
647
654
<listitem>
648
655
<simpara>
...
...
@@ -655,7 +662,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
655
662
<varlistentry xml:id="pdo.constants.errmode-exception">
656
663
<term>
657
664
<constant>PDO::ERRMODE_EXCEPTION</constant>
658
-
(<type>integer</type>)
665
+
(<type>int</type>)
659
666
</term>
660
667
<listitem>
661
668
<simpara>
...
...
@@ -668,7 +675,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
668
675
<varlistentry xml:id="pdo.constants.case-natural">
669
676
<term>
670
677
<constant>PDO::CASE_NATURAL</constant>
671
-
(<type>integer</type>)
678
+
(<type>int</type>)
672
679
</term>
673
680
<listitem>
674
681
<simpara>
...
...
@@ -679,7 +686,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
679
686
<varlistentry xml:id="pdo.constants.case-lower">
680
687
<term>
681
688
<constant>PDO::CASE_LOWER</constant>
682
-
(<type>integer</type>)
689
+
(<type>int</type>)
683
690
</term>
684
691
<listitem>
685
692
<simpara>
...
...
@@ -690,7 +697,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
690
697
<varlistentry xml:id="pdo.constants.case-upper">
691
698
<term>
692
699
<constant>PDO::CASE_UPPER</constant>
693
-
(<type>integer</type>)
700
+
(<type>int</type>)
694
701
</term>
695
702
<listitem>
696
703
<simpara>
...
...
@@ -701,7 +708,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
701
708
<varlistentry xml:id="pdo.constants.null-natural">
702
709
<term>
703
710
<constant>PDO::NULL_NATURAL</constant>
704
-
(<type>integer</type>)
711
+
(<type>int</type>)
705
712
</term>
706
713
<listitem>
707
714
<simpara>
...
...
@@ -712,7 +719,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
712
719
<varlistentry xml:id="pdo.constants.null-empty-string">
713
720
<term>
714
721
<constant>PDO::NULL_EMPTY_STRING</constant>
715
-
(<type>integer</type>)
722
+
(<type>int</type>)
716
723
</term>
717
724
<listitem>
718
725
<simpara>
...
...
@@ -723,7 +730,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
723
730
<varlistentry xml:id="pdo.constants.null-to-string">
724
731
<term>
725
732
<constant>PDO::NULL_TO_STRING</constant>
726
-
(<type>integer</type>)
733
+
(<type>int</type>)
727
734
</term>
728
735
<listitem>
729
736
<simpara>
...
...
@@ -734,7 +741,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
734
741
<varlistentry xml:id="pdo.constants.fetch-ori-next">
735
742
<term>
736
743
<constant>PDO::FETCH_ORI_NEXT</constant>
737
-
(<type>integer</type>)
744
+
(<type>int</type>)
738
745
</term>
739
746
<listitem>
740
747
<simpara>
...
...
@@ -745,7 +752,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
745
752
<varlistentry xml:id="pdo.constants.fetch-ori-prior">
746
753
<term>
747
754
<constant>PDO::FETCH_ORI_PRIOR</constant>
748
-
(<type>integer</type>)
755
+
(<type>int</type>)
749
756
</term>
750
757
<listitem>
751
758
<simpara>
...
...
@@ -757,7 +764,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
757
764
<varlistentry xml:id="pdo.constants.fetch-ori-first">
758
765
<term>
759
766
<constant>PDO::FETCH_ORI_FIRST</constant>
760
-
(<type>integer</type>)
767
+
(<type>int</type>)
761
768
</term>
762
769
<listitem>
763
770
<simpara>
...
...
@@ -768,7 +775,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
768
775
<varlistentry xml:id="pdo.constants.fetch-ori-last">
769
776
<term>
770
777
<constant>PDO::FETCH_ORI_LAST</constant>
771
-
(<type>integer</type>)
778
+
(<type>int</type>)
772
779
</term>
773
780
<listitem>
774
781
<simpara>
...
...
@@ -779,7 +786,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
779
786
<varlistentry xml:id="pdo.constants.fetch-ori-abs">
780
787
<term>
781
788
<constant>PDO::FETCH_ORI_ABS</constant>
782
-
(<type>integer</type>)
789
+
(<type>int</type>)
783
790
</term>
784
791
<listitem>
785
792
<simpara>
...
...
@@ -791,7 +798,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
791
798
<varlistentry xml:id="pdo.constants.fetch-ori-rel">
792
799
<term>
793
800
<constant>PDO::FETCH_ORI_REL</constant>
794
-
(<type>integer</type>)
801
+
(<type>int</type>)
795
802
</term>
796
803
<listitem>
797
804
<simpara>
...
...
@@ -803,7 +810,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
803
810
<varlistentry xml:id="pdo.constants.cursor-fwdonly">
804
811
<term>
805
812
<constant>PDO::CURSOR_FWDONLY</constant>
806
-
(<type>integer</type>)
813
+
(<type>int</type>)
807
814
</term>
808
815
<listitem>
809
816
<simpara>
...
...
@@ -816,7 +823,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
816
823
<varlistentry xml:id="pdo.constants.cursor-scroll">
817
824
<term>
818
825
<constant>PDO::CURSOR_SCROLL</constant>
819
-
(<type>integer</type>)
826
+
(<type>int</type>)
820
827
</term>
821
828
<listitem>
822
829
<simpara>
...
...
@@ -828,14 +835,14 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
828
835
<varlistentry xml:id="pdo.constants.err-none">
829
836
<term>
830
837
<constant>PDO::ERR_NONE</constant>
831
-
(<type>string</type>)
838
+
(<type>string</type>)
832
839
</term>
833
840
<listitem>
834
841
<simpara>
835
842
Corresponds to SQLSTATE '00000', meaning that the SQL statement was
836
843
successfully issued with no errors or warnings. This constant is for
837
-
your convenience when checking <function>PDO::errorCode</function> or
838
-
<function>PDOStatement::errorCode</function> to determine if an error
844
+
your convenience when checking <methodname>PDO::errorCode</methodname> or
845
+
<methodname>PDOStatement::errorCode</methodname> to determine if an error
839
846
occurred. You will usually know if this is the case by examining the
840
847
return code from the method that raised the error condition anyway.
841
848
</simpara>
...
...
@@ -844,7 +851,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
844
851
<varlistentry xml:id="pdo.constants.param-evt-alloc">
845
852
<term>
846
853
<constant>PDO::PARAM_EVT_ALLOC</constant>
847
-
(<type>integer</type>)
854
+
(<type>int</type>)
848
855
</term>
849
856
<listitem>
850
857
<simpara>
...
...
@@ -855,7 +862,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
855
862
<varlistentry xml:id="pdo.constants.param-evt-free">
856
863
<term>
857
864
<constant>PDO::PARAM_EVT_FREE</constant>
858
-
(<type>integer</type>)
865
+
(<type>int</type>)
859
866
</term>
860
867
<listitem>
861
868
<simpara>
...
...
@@ -866,7 +873,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
866
873
<varlistentry xml:id="pdo.constants.param-evt-exec-pre">
867
874
<term>
868
875
<constant>PDO::PARAM_EVT_EXEC_PRE</constant>
869
-
(<type>integer</type>)
876
+
(<type>int</type>)
870
877
</term>
871
878
<listitem>
872
879
<simpara>
...
...
@@ -877,7 +884,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
877
884
<varlistentry xml:id="pdo.constants.param-evt-exec-post">
878
885
<term>
879
886
<constant>PDO::PARAM_EVT_EXEC_POST</constant>
880
-
(<type>integer</type>)
887
+
(<type>int</type>)
881
888
</term>
882
889
<listitem>
883
890
<simpara>
...
...
@@ -888,7 +895,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
888
895
<varlistentry xml:id="pdo.constants.param-evt-fetch-pre">
889
896
<term>
890
897
<constant>PDO::PARAM_EVT_FETCH_PRE</constant>
891
-
(<type>integer</type>)
898
+
(<type>int</type>)
892
899
</term>
893
900
<listitem>
894
901
<simpara>
...
...
@@ -899,7 +906,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
899
906
<varlistentry xml:id="pdo.constants.param-evt-fetch-post">
900
907
<term>
901
908
<constant>PDO::PARAM_EVT_FETCH_POST</constant>
902
-
(<type>integer</type>)
909
+
(<type>int</type>)
903
910
</term>
904
911
<listitem>
905
912
<simpara>
...
...
@@ -910,7 +917,7 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
910
917
<varlistentry xml:id="pdo.constants.param-evt-normalize">
911
918
<term>
912
919
<constant>PDO::PARAM_EVT_NORMALIZE</constant>
913
-
(<type>integer</type>)
920
+
(<type>int</type>)
914
921
</term>
915
922
<listitem>
916
923
<simpara>
...
...
@@ -919,14 +926,14 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
919
926
</simpara>
920
927
</listitem>
921
928
</varlistentry>
922
-
<varlistentry xml:id="pdo.constants.sqlite_deterministic">
929
+
<varlistentry xml:id="pdo.constants.sqlite-deterministic">
923
930
<term>
924
931
<constant>PDO::SQLITE_DETERMINISTIC</constant>
925
-
(<type>integer</type>)
932
+
(<type>int</type>)
926
933
</term>
927
934
<listitem>
928
935
<simpara>
929
-
Specifies that a function created with <function>PDO::sqliteCreateFunction</function>
936
+
Specifies that a function created with <methodname>PDO::sqliteCreateFunction</methodname>
930
937
is deterministic, i.e. it always returns the same result given the same inputs within
931
938
a single SQL statement. (Available as of PHP 7.1.4.)
932
939
</simpara>
...
...
@@ -934,7 +941,6 @@ if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
934
941
</varlistentry>
935
942
</variablelist>
936
943
</appendix>
937
-

938
944
<!-- Keep this comment at the end of the file
939
945
Local variables:
940
946
mode: sgml
941
947