forked from php/doc-zh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
language-snippets.ent
3281 lines (2551 loc) · 173 KB
/
language-snippets.ent
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: a44dc91a4dd2f8ff98f195f8b22621ec91aba1d5 Maintainer: Gregory Status: ready -->
<!-- Reviewed: yes -->
<!-- CREDITS: dallas -->
<!-- 请保持此文件与英文文件中相应的每个 ENTITY 行号一一对应以便于对照,修改与更新! -->
<!ENTITY installation.enabled.disable '此扩展默认为启用,编译时可通过下列选项禁用:'>
<!-- Not used in EN anymore -->
<!ENTITY changelog.randomseed '<row xmlns="http://docbook.org/ns/docbook"><entry>4.2.0</entry><entry>随机数发生器自动进行播种。</entry></row>'>
<!ENTITY warn.deprecated.feature-5-3-0.removed-6-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.3.0
起,已经<emphasis>废弃</emphasis>此特性。强烈建议不要应用此特性。</simpara></warning>'>
<!ENTITY warn.deprecated.function-5-3-0.removed-6-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.3.0
起,已经<emphasis>废弃</emphasis>此函数。强烈建议不要应用此函数。</simpara></warning>'>
<!-- Cautions -->
<!ENTITY caution.cryptographically-insecure '<caution xmlns="http://docbook.org/ns/docbook"><para>本函数并不会生成安全加密的值,不应用于加密用途。若需要安全加密的值,考虑使用
<function>random_int</function>、<function>random_bytes</function> 或 <function>openssl_random_pseudo_bytes</function>
替代。</para></caution>'>
<!-- Notes -->
<!ENTITY note.bin-safe '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数可安全用于二进制对象。</simpara></note>'>
<!ENTITY note.locale-single-byte '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数是本地识别的,会根据当前设置的 locale 处理输入,只适用于单字节字符集。
如果您需要使用多字节字符(大多数非西欧语言),请参考
<link linkend="book.mbstring">multibyte</link> 或 <link linkend="book.intl">intl</link> 扩展。</simpara></note>'>
<!ENTITY note.clearstatcache '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数的结果会被缓存。参见
<function>clearstatcache</function> 以获得更多细节。</simpara></note>'>
<!ENTITY note.context-support '<note xmlns="http://docbook.org/ns/docbook"><simpara>在 PHP 5.0.0
中增加了对上下文(Context)的支持。有关<literal>上下文(Context)</literal>的说明参见
<xref linkend="book.stream"/>。</simpara></note>'>
<!ENTITY note.exec-bg '<note xmlns="http://docbook.org/ns/docbook"><para>如何程序使用此函数启动,为了能保持在后台运行,此程序必须将输出重定向到文件或其它输出流。否则会导致
PHP 挂起,直至程序执行结束。</para></note>'>
<!ENTITY note.exec-bypass-shell '<note xmlns="http://docbook.org/ns/docbook"><para>在 Windows 下,<function>exec</function>
函数会先启动 cmd.exe 来执行指定的命令。如果你希望启动一个额外的应用而不用先启动 cmd.exe
可使用 <function>proc_open</function> 函数加上 <parameter>bypass_shell</parameter> 参数。</para></note>'>
<!ENTITY note.func-callback '<note xmlns="http://docbook.org/ns/docbook"><simpara>除了函数名,含有对象引用的数组和方法名也可以作为参数。</simpara></note>'>
<!ENTITY note.func-callback-exceptions '<note xmlns="http://docbook.org/ns/docbook"><para>在函数中注册有多个回调内容时(如使用
<function>call_user_func</function> 与 <function>call_user_func_array</function>),如在前一个回调中有未捕获的异常,其后的将不再被调用。</para></note>'>
<!ENTITY note.funcbyref '<note xmlns="http://docbook.org/ns/docbook"><para>如果参数以引用方式传递,函数对该参数的任何改变将在函数返回后保留。As of PHP 7
the current values will also be returned if the arguments are passed by value.</para></note>'>
<!ENTITY note.funcnoparam '<note xmlns="http://docbook.org/ns/docbook"><para>因为函数依赖于当前作用域以确定参数的细节,所以在
5.3.0 以前的版本中不能用作函数的参数。如必须传递此值时,可将结果赋与一个变量,然后用此变量进行传递。</para></note>'>
<!ENTITY note.line-endings '<note xmlns="http://docbook.org/ns/docbook"><simpara>在读取在 Macintosh 电脑中或由其创建的文件时, 如果 PHP
不能正确的识别行结束符,启用运行时配置可选项 <link linkend="ini.auto-detect-line-endings">auto_detect_line_endings</link>
也许可以解决此问题。</simpara></note>'>
<!ENTITY note.no-remote '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数不能作用于<link
linkend="features.remote-files">远程文件</link>,被检查的文件必须是可通过服务器的文件系统访问的。</simpara></note>'>
<!ENTITY note.not-bin-safe '<warning xmlns="http://docbook.org/ns/docbook"><simpara>此函数(还)不能安全地适用于二进制对象!</simpara></warning>'>
<!ENTITY note.no-key-association '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数为 <parameter>array</parameter>
中的元素赋与新的键名。这将删除原有的键名,而不是仅仅将键名重新排序。</simpara></note>'>
<!ENTITY note.no-windows '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数未在 Windows 平台下实现。</simpara></note>'>
<!ENTITY note.no-windows.extension '<note xmlns="http://docbook.org/ns/docbook"><simpara>此扩展在 Windows 平台上不可用。</simpara></note>'>
<!ENTITY note.no-zts '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数未在 ZTS (Zend Thread Safety) PHP
解释器中实现。确认你的 PHP 版本,可以在命令行输入 <command>php -i</command> 来查看是否包含 <constant>PHP_ZTS</constant> 常量。</simpara></note>'>
<!ENTITY note.randomseed '<note xmlns="http://docbook.org/ns/docbook"><simpara>不再需要用
<function>srand</function> 或 <function>mt_srand</function>
给随机数发生器播种,因为现在是由系统自动完成的。</simpara></note>'>
<!ENTITY note.is-superglobal '<note xmlns="http://docbook.org/ns/docbook"><para>“Superglobal”也称为自动化的全局变量。这就表示其在脚本的所有作用域中都是可用的。不需要在函数或方法中用
<command>global $variable;</command> 来访问它。</para></note>'>
<!ENTITY note.uses-ob '<note xmlns="http://docbook.org/ns/docbook"><para>当使用了<parameter>return</parameter>
参数时,本函数使用其内部输出缓冲,因此不能在
<function>ob_start</function> 回调函数的内部使用。</para></note>'>
<!ENTITY note.uses-ob-php70 '<note xmlns="http://docbook.org/ns/docbook"><para>When the <parameter>return</parameter> parameter
is used, this function uses internal output buffering prior to PHP 7.1.0, so it cannot be used inside an
<function>ob_start</function> callback function.</para></note>'>
<!ENTITY note.filesystem-time-res '<note xmlns="http://docbook.org/ns/docbook"><para>注意:不同文件系统对时间的判断方法可能是不相同的。</para></note>'>
<!ENTITY note.uses-autoload '<note xmlns="http://docbook.org/ns/docbook"><para>如果此类不是已知类,使用此函数会使用任何已注册的
<link linkend="language.oop5.autoload">autoloader</link>。</para></note>'>
<!ENTITY note.network.header.sapi '<note xmlns="http://docbook.org/ns/docbook">
<para>
数据头只会在SAPI支持时得到处理和输出。
</para>
</note>
'>
<!ENTITY note.sigchild '<note xmlns="http://docbook.org/ns/docbook">
<para>
如果 PHP 是通过 --enable-sigchild 编译的,此函数将没有返回值。
</para>
</note>
'>
<!ENTITY note.sort-unstable '<note xmlns="http://docbook.org/ns/docbook">
<para>
如果两个成员完全相同,那么它们在排序数组中的相对顺序是未定义的。
</para>
</note>
'>
<!-- Tips -->
<!ENTITY tip.fopen-wrapper '<tip xmlns="http://docbook.org/ns/docbook"><simpara>如已启用<link linkend="ini.allow-url-fopen"
>fopen 包装器</link>,在此函数中, URL 可作为文件名。关于如何指定文件名详见 <function>fopen</function>。各种
wapper 的不同功能请参见 <xref linkend="wrappers"/>,注意其用法及其可提供的预定义变量。</simpara></tip>'>
<!ENTITY tip.fopen-wrapper.stat '<tip xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.0.0 起, 此函数也用于<emphasis>某些</emphasis>
URL 包装器。请参见 <xref linkend="wrappers"/>以获得支持 <function>stat</function> 系列函数功能的包装器列表。</simpara></tip>'>
<!ENTITY tip.ob-capture '<tip xmlns="http://docbook.org/ns/docbook"><simpara>和直接将结果输出到浏览器一样,可使用<link
linkend="book.outcontrol">输出控制函数</link>来捕获当前函数的输出,然后(例如)保存到一个 <type>string</type> 中。</simpara></tip>'>
<!ENTITY tip.userlandnaming '<tip xmlns="http://docbook.org/ns/docbook"><simpara>请参见<xref linkend="userlandnaming" />。</simpara></tip>'>
<!-- Warnings -->
<!ENTITY warn.escapeshell '<warning xmlns="http://docbook.org/ns/docbook"><para>当传入用户提供的数据到本函数时,应使用
<function>escapeshellarg</function> 或 <function>escapeshellcmd</function>
来防止用户欺骗系统执行任意命令。</para></warning>'>
<!ENTITY warn.experimental '<warning xmlns="http://docbook.org/ns/docbook"><simpara>此扩展是<emphasis>实验性</emphasis>的。
此扩展的行为,包括其函数的名称和围绕此扩展的相关文档都可能会在未来的
PHP 版本中发生变化而不另行通知。使用本扩展应自行承担风险。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-3-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.3.0
起,已经<emphasis>废弃</emphasis>此特性。强烈建议不要应用此特性。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-3-0.removed-5-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自
PHP 5.3.0 起<emphasis>废弃</emphasis>并将自 PHP 5.4.0
起<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.deprecated.function-5-3-0.removed-5-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 5.3.0 起<emphasis>废弃</emphasis>并将自
PHP 5.4.0 起<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-5-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 5.5.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-6-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 5.6.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 7.0.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-1-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 7.1.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-1-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.1.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-1-0.removed-7-2-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.1.0 起<emphasis>废弃</emphasis>并将自
PHP 7.2.0 起<emphasis>移除</emphasis>。强烈建议不要使用本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-2-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 7.2.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-2-0.removed-8-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara> 本特性自 PHP 7.2.0
起<emphasis>废弃</emphasis>,并且自 PHP 8.0.0 起被<emphasis>移除</emphasis>。
强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-2-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.2.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-2-0.removed-8-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.2.0
起被<emphasis>废弃</emphasis>,并自 PHP 8.0.0 起被<emphasis>移除</emphasis>。
强烈建议不要依赖本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-3-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 7.3.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-3-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.3.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-3-0.removed-8-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
<emphasis>DEPRECATED</emphasis> as of PHP 7.3.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0. Relying on this function
is highly discouraged.</simpara></warning>'>
<!ENTITY warn.deprecated.feature-7-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本特性已自 PHP 7.4.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本特性。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 7.4.0
起<emphasis>废弃</emphasis>。强烈建议不要使用本函数。</simpara></warning>'>
<!ENTITY warn.deprecated.function-7-4-0.removed-8-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This function has been
<emphasis>DEPRECATED</emphasis> as of PHP 7.4.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0. Relying on this function
is highly discouraged.</simpara></warning>'>
<!ENTITY warn.deprecated.function-8-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>本函数已自 PHP 8.0.0
起被<emphasis>废弃</emphasis>。强烈建议不要依赖本函数。</simpara></warning>'>
<!ENTITY removed.php.future '本过时特性<emphasis
xmlns="http://docbook.org/ns/docbook">将</emphasis>肯定会在未来被<emphasis xmlns="http://docbook.org/ns/docbook">移除</emphasis>。'>
<!ENTITY warn.deprecated.function.removed-5-3-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.3.0
起,已经<emphasis>废弃</emphasis>并<emphasis>移除</emphasis>此函数。</simpara></warning>'>
<!ENTITY warn.deprecated.function.removed-5-5-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.5.0
起,已经<emphasis>废弃</emphasis>并<emphasis>移除</emphasis>此函数。</simpara></warning>'>
<!ENTITY warn.deprecated.alias-5-3-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.3.0
起,已经<emphasis>废弃</emphasis>此别名。强烈建议不要应用此别名。</simpara></warning>'>
<!ENTITY warn.deprecated.func-5-4-0 '<warning xmlns="http://docbook.org/ns/docbook">
<simpara>自PHP 5.4.0 起,此函数已经被<emphasis>废弃</emphasis>。强烈建议不要使用此函数。</simpara></warning>'>
<!ENTITY warn.deprecated.alias-5-4-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>自 PHP 5.4.0
起,已经<emphasis>废弃</emphasis>此别名。强烈建议不要应用此别名。</simpara></warning>'>
<!ENTITY warn.deprecated.func-5-5-0 '<warning xmlns="http://docbook.org/ns/docbook">
<simpara>自PHP 5.5.0 起,此函数已经被<emphasis>废弃</emphasis>。强烈建议不要使用此函数。</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-5-0.removed-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This feature was
<emphasis>DEPRECATED</emphasis> in PHP 5.5.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.function-5-5-0.removed-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This function was
<emphasis>DEPRECATED</emphasis> in PHP 5.5.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.function-4-1-0.removed-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This function was
<emphasis>DEPRECATED</emphasis> in PHP 4.1.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.function-5-3-0.removed-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>This function was
<emphasis>DEPRECATED</emphasis> in PHP 5.3.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.alias-5-3-0.removed-7-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This alias was
<emphasis>DEPRECATED</emphasis> in PHP 5.3.0, and <emphasis>REMOVED</emphasis> as of PHP 7.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.feature-5-6-0.removed-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>该功能已在 PHP 5.6.0 中
<emphasis>废弃</emphasis> ,并在 PHP 7.0.0 中
<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.removed.function-7-0-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>该函数已在 PHP 7.0.0 中
<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.removed.function-7-4-0 '<warning
xmlns="http://docbook.org/ns/docbook"><simpara>该函数已在 PHP 7.4.0 中
<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.deprecated.alias-7-2-0.removed-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>This alias was
<emphasis>DEPRECATED</emphasis> in PHP 7.2.0, and <emphasis>REMOVED</emphasis> as of PHP 8.0.0.</simpara></warning>'>
<!ENTITY warn.deprecated.alias-7-4-0.removed-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>该别名已在 PHP 7.4.0 中
<emphasis>废弃</emphasis>,并且自 PHP 8.0.0 起已被<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.deprecated.alias-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>该别名已在 PHP 8.0.0 中
<emphasis>废弃</emphasis>。</simpara></warning>'>
<!ENTITY warn.removed.alias-8-0-0 '<warning xmlns="http://docbook.org/ns/docbook"><simpara>该别名已在 PHP 8.0.0 中被
<emphasis>移除</emphasis>。</simpara></warning>'>
<!ENTITY warn.experimental.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>此函数是<emphasis>实验性</emphasis>的。此函数的表象,包括名称及其相关文档都可能在未来的
PHP 发布版本中未通知就被修改。使用本函数风险自担。</simpara></warning>'>
<!ENTITY warn.imaprecodeyaz '<warning xmlns="http://docbook.org/ns/docbook"><simpara><link
linkend="book.imap">IMAP</link>,<link linkend="book.recode">recode</link>,和 <link linkend="book.yaz">YAZ</link>
扩展不能同时使用,因为它们共享了相同 的内部符号。注意:Yaz
2.0 及以上版本不存在此问题。</simpara></warning>'>
<!ENTITY warn.install.cgi '<warning xmlns="http://docbook.org/ns/docbook"><para>服务器使用 CGI 方式进行部署可能存在几个公开的缺陷。请阅读
<link linkend="security.cgi-bin">CGI 安全</link>一章 以学习 如何抵御这些攻击。</para></warning>'>
<!ENTITY warn.passwordhashing '
<warning xmlns="http://docbook.org/ns/docbook">
<para>
由于此函数依赖的算法已不足够复杂,不推荐使用此函数对明文密码加密。详细内容参见
<link linkend="faq.passwords.fasthash">这里</link>。
</para>
</warning>
'>
<!ENTITY warn.ssl-non-standard '<warning xmlns="http://docbook.org/ns/docbook"><para>使用 SSL 时,Microsoft IIS
会违反协议不发送<literal>close_notify</literal>标记就关闭连接。PHP 会在到达数据尾端时报告“SSL: Fatal Protocol Error”。
要解决此问题,<link linkend="ini.error-reporting">error_reporting</link> 应设定为降低级别至不包含警告。
PHP 4.3.7 及更高版本可以在使用 <literal>https://</literal> 包装器打开流时检测出有问题的 IIS 服务器软件 并抑制警告。在使用
<function>fsockopen</function> 创建 <literal>ssl://</literal> 套接字时, 开发者需检测并抑制此警告。</para></warning>'>
<!ENTITY warn.undocumented.class '
<warning xmlns="http://docbook.org/ns/docbook">
<simpara>
本类的文档还在编写中,暂时只有属性和方法列表供参考。
</simpara>
</warning>
'>
<!ENTITY warn.undocumented.func '<warning xmlns="http://docbook.org/ns/docbook"><simpara>本函数还未编写文档,仅有参数列表。</simpara></warning>'>
<!-- Deprecation and removal warnings designed for use with a list of
alternatives. See en/reference/regex/functions/ereg.xml and
en/reference/regex/reference.xml for examples of these in action. -->
<!ENTITY warn.deprecated.function.4-1-0.removed.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This function was <emphasis>DEPRECATED</emphasis> in PHP 4.1.0, and
<emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this function include:
</para>
'>
<!ENTITY warn.deprecated.feature.5-3-0.removed.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This feature was <emphasis>DEPRECATED</emphasis> in PHP 5.3.0, and
<emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this feature include:
</para>
'>
<!ENTITY warn.deprecated.function.5-3-0.removed.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This function was <emphasis>DEPRECATED</emphasis> in PHP 5.3.0, and
<emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this function include:
</para>
'>
<!ENTITY warn.deprecated.function.5-5-0.removed.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This function was <emphasis>DEPRECATED</emphasis> in PHP 5.5.0, and
<emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this function include:
</para>
'>
<!ENTITY warn.removed.feature.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This feature was <emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this feature include:
</para>
'>
<!ENTITY warn.removed.function.7-0-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This function was <emphasis>REMOVED</emphasis> in PHP 7.0.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this function include:
</para>
'>
<!ENTITY warn.deprecated.feature.7-1-0.removed.7-2-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This feature was <emphasis>DEPRECATED</emphasis> in PHP 7.1.0, and
<emphasis>REMOVED</emphasis> in PHP 7.2.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this feature include:
</para>
'>
<!ENTITY warn.deprecated.function.7-1-0.removed.7-2-0.alternatives '
<para xmlns="http://docbook.org/ns/docbook">
This function was <emphasis>DEPRECATED</emphasis> in PHP 7.1.0, and
<emphasis>REMOVED</emphasis> in PHP 7.2.0.
</para>
<para xmlns="http://docbook.org/ns/docbook">
Alternatives to this function include:
</para>
'>
<!-- Misc -->
<!ENTITY version.exists.asof '自以下版本起 PHP '>
<!ENTITY version.trunk.changelog '未来'>
<!ENTITY no.function.parameters '<para xmlns="http://docbook.org/ns/docbook">此函数没有参数。</para>'>
<!ENTITY example.outputs '<para xmlns="http://docbook.org/ns/docbook">以上例程会输出:</para>'>
<!ENTITY example.outputs.5 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 5 中的输出:</para>'>
<!ENTITY example.outputs.53 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 5.3 中的输出:</para>'>
<!ENTITY example.outputs.54 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 5.4 中的输出:</para>'>
<!ENTITY example.outputs.55 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 5.5 中的输出:</para>'>
<!ENTITY example.outputs.56 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 5.6 中的输出:</para>'>
<!ENTITY example.outputs.7 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 7 中的输出:</para>'>
<!ENTITY example.outputs.70 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 7.0 中的输出:</para>'>
<!ENTITY example.outputs.71 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 7.1 中的输出:</para>'>
<!ENTITY example.outputs.72 '<para xmlns="http://docbook.org/ns/docbook">Output of the above example in PHP 7.2:</para>'>
<!ENTITY example.outputs.73 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 7.3 中的输出:</para>'>
<!ENTITY example.outputs.8 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 8 中的输出:</para>'>
<!ENTITY example.outputs.8.similar '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 8 中的输出类似于:</para>'>
<!ENTITY example.outputs.80 '<para xmlns="http://docbook.org/ns/docbook">以上例程在 PHP 8.0 中的输出:</para>'>
<!ENTITY example.outputs.32bit '<para xmlns="http://docbook.org/ns/docbook">以上例程在 32 位机器上的输出:</para>'>
<!ENTITY example.outputs.64bit '<para xmlns="http://docbook.org/ns/docbook">以上例程在 64 位机器上的输出:</para>'>
<!ENTITY example.outputs.similar '<para xmlns="http://docbook.org/ns/docbook">以上例程的输出类似于:</para>'>
<!ENTITY examples.outputs '<para xmlns="http://docbook.org/ns/docbook">以上例程会输出:</para>'>
<!ENTITY examples.outputs.32bit '<para xmlns="http://docbook.org/ns/docbook">以上例程在 32 位机器上的输出:</para>'>
<!ENTITY examples.outputs.64bit '<para xmlns="http://docbook.org/ns/docbook">以上例程在 64 位机器上的输出:</para>'>
<!ENTITY examples.outputs.similar '<para xmlns="http://docbook.org/ns/docbook">以上例程的输出类似于:</para>'>
<!ENTITY array.resetspointer '<note xmlns="http://docbook.org/ns/docbook"><simpara>使用此函数后会重置(<function>reset</function>)<type>array</type>
指针。</simpara></note>'>
<!ENTITY seealso.array.sorting '<link xmlns="http://docbook.org/ns/docbook" linkend="array.sorting">数组排序函数对比</link>'>
<!ENTITY sort.flags.parameter '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>flags</parameter></term>
<listitem>
<para>
可选的第二个参数 <parameter>flags</parameter>
可以用以下值改变排序的行为:
</para>
<para>
排序类型标记:
<itemizedlist>
<listitem>
<simpara><constant>SORT_REGULAR</constant> - 正常比较单元
详细描述参见 <link linkend="language.operators.comparison">比较运算符</link> 章节
</simpara>
</listitem>
<listitem>
<simpara><constant>SORT_NUMERIC</constant> - 单元被作为数字来比较</simpara>
</listitem>
<listitem>
<simpara><constant>SORT_STRING</constant> - 单元被作为字符串来比较</simpara>
</listitem>
<listitem>
<simpara>
<constant>SORT_LOCALE_STRING</constant> -
根据当前的区域(locale)设置来把单元当作字符串比较,可以用
<function>setlocale</function> 来改变。
</simpara>
</listitem>
<listitem>
<simpara>
<constant>SORT_NATURAL</constant> - 和 <function>natsort</function>
类似对每个单元以“自然的顺序”对字符串进行排序。
</simpara>
</listitem>
<listitem>
<simpara>
<constant>SORT_FLAG_CASE</constant> - 能够与
<constant>SORT_STRING</constant> 或
<constant>SORT_NATURAL</constant>
合并(OR 位运算),不区分大小写排序字符串。
</simpara>
</listitem>
</itemizedlist>
</para>
</listitem>
</varlistentry>
'>
<!ENTITY ini.shorthandbytes '<simpara xmlns="http://docbook.org/ns/docbook">当使用 <type>int</type>
时, 其值以字节来衡量。还可以使用在<link linkend="faq.using.shorthandbytes">FAQ</link>中描述的速记符。</simpara>'>
<!ENTITY info.deprecated.alias '为了向下兼容,可以使用下列已废弃的别名:'>
<!ENTITY info.function.alias '此函数是该函数的别名:'>
<!ENTITY info.method.alias '此方法是该方法的别名:'>
<!ENTITY info.function.alias.deprecated '<simpara xmlns="http://docbook.org/ns/docbook">此函数别名已废弃,仅为了向后兼容而保留。不建议使用此函数,因为将来会从 PHP 中移除。</simpara>'>
<!ENTITY ext.windows.path.dll '为了使此扩展生效,
<acronym xmlns="http://docbook.org/ns/docbook">DLL</acronym> 文件必须能在 Windows 系统的
<envar xmlns="http://docbook.org/ns/docbook">PATH</envar> 指示的路径下找到。如何操作的信息,请参见题为“<link
xmlns="http://docbook.org/ns/docbook" linkend="faq.installation.addtopath">如何在 Windows 中将 PHP
目录加到 PATH 中</link>”的<acronym xmlns="http://docbook.org/ns/docbook">FAQ</acronym>。虽然将
DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行,但不建议这样做。
<emphasis xmlns="http://docbook.org/ns/docbook">此扩展需要下列文件在 <envar>PATH</envar> 路径中:</emphasis>'>
<!ENTITY manual.migration.seealso '参见 PHP 版本迁移指南'>
<!ENTITY style.oop '面向对象风格'>
<!ENTITY style.procedural '过程化风格'>
<!ENTITY resource '<link xmlns="http://docbook.org/ns/docbook" linkend="language.types.resource">资源(resource)</link>'>
<!ENTITY foreach '<link xmlns="http://docbook.org/ns/docbook" linkend="control-structures.foreach">foreach</link>'>
<!ENTITY yield '<link xmlns="http://docbook.org/ns/docbook" linkend="control-structures.yield">yield</link>'>
<!ENTITY parameter.context '<literal xmlns="http://docbook.org/ns/docbook">上下文(context)</literal>的说明请参考手册中的 <link
xmlns="http://docbook.org/ns/docbook" linkend="context">上下文(context)</link>章节.'>
<!ENTITY parameter.use_include_path '值 设为 &true; 时, 也会在
<link xmlns="http://docbook.org/ns/docbook" linkend="ini.include-path">include_path</link>搜索文件名。'>
<!-- Returns -->
<!ENTITY return.falseforfailure ' 或者在失败时返回 &false;'>
<!ENTITY return.falseforfailure.style.procedural '&style.procedural;在失败时返回 &false;。'>
<!ENTITY return.success '成功时返回 &true;,&return.falseforfailure;。'>
<!ENTITY return.nullorfalse '成功时返回 &null;,&return.falseforfailure;。'>
<!ENTITY return.void '没有返回值。'>
<!ENTITY return.callbacksort '在第一个参数小于,等于或大于第二个参数时,该比较函数必须相应地返回一个小于,等于或大于 0 的整数。'>
<!ENTITY return.falseproblem '<warning xmlns="http://docbook.org/ns/docbook"><simpara>此函数可能返回布尔值
&false;,但也可能返回等同于 &false; 的非布尔值。请阅读 <link
linkend="language.types.boolean">布尔类型</link>章节以获取更多信息。应使用
<link linkend="language.operators.comparison">===
运算符</link>来测试此函数的返回值。</simpara></warning>'>
<!-- OpenSSL -->
<!ENTITY openssl.param.x509 '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>x509</parameter></term>
<listitem>
<para>
参见<link linkend="openssl.certparams">密钥/证书参数</link>以获取有效值列表。
</para>
</listitem>
</varlistentry>'>
<!ENTITY openssl.param.csr '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>csr</parameter></term>
<listitem>
<para>
See <link linkend="openssl.certparams">CSR parameters</link> for a list of valid values.
</para>
</listitem>
</varlistentry>'>
<!ENTITY openssl.param.key '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>key</parameter></term>
<listitem>
<para>
See <link linkend="openssl.certparams">Public/Private Key parameters</link> for a list of valid values.
</para>
</listitem>
</varlistentry>'>
<!-- Image (GD) Notes -->
<!ENTITY note.config.t1lib '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数仅在 PHP
编译时指定了 <option role="configure">--with-t1lib[=DIR]</option> 时可用。</simpara></note>'>
<!ENTITY note.freetype '<note xmlns="http://docbook.org/ns/docbook"><simpara>此函数仅在
PHP 编译时加入 freetype 支持时有效(<option role="configure">--with-freetype-dir=DIR</option>)。</simpara></note>'>
<!ENTITY note.gd.notrequired '<note xmlns="http://docbook.org/ns/docbook"><para>此函数不需要 GD 图象库。</para></note>'>
<!ENTITY note.gd.interpolation '<note xmlns="http://docbook.org/ns/docbook"><para>此函数受到 <function>imagesetinterpolation</function> 中设定的插值方法影响。</para></note>'>
<!ENTITY gd.image.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>image</parameter></term>
<listitem><para>由图象创建函数(例如<function>imagecreatetruecolor</function>)返回的 <classname>GdImage</classname> 对象。</para></listitem></varlistentry>'>
<!ENTITY gd.font.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>
font</parameter></term><listitem><para>取值对于内建的 latin2 编码字体可以是:1、2、3、4、5(更高的数字对应更大的字体),或是其他由
<function>imageloadfont</function> 注册的字体标识符。</para></listitem></varlistentry>'>
<!ENTITY gd.ttf.fontfile "
<varlistentry xmlns='http://docbook.org/ns/docbook'>
<term><parameter>fontfile</parameter></term>
<listitem>
<para>
The path to the TrueType font you wish to use.
</para>
<para>
Depending on which version of the GD library PHP is using, <emphasis>when
<parameter>fontfile</parameter> does not begin with a leading
<literal>/</literal> then <literal>.ttf</literal> will be appended</emphasis>
to the filename and the library will attempt to search for that
filename along a library-defined font path.
</para>
<para>
When using versions of the GD library lower than 2.0.18, a <literal>space</literal> character,
rather than a semicolon, was used as the 'path separator' for different font files.
Unintentional use of this feature will result in the warning message:
<literal>Warning: Could not find/open font</literal>. For these affected versions, the
only solution is moving the font to a path which does not contain spaces.
</para>
<para>
In many cases where a font resides in the same directory as the script using it
the following trick will alleviate any include problems.
<programlisting role='php'>
<![CDATA[
<?php
// Set the environment variable for GD
putenv('GDFONTPATH=' . realpath('.'));
// Name the font to be used (note the lack of the .ttf extension)
$font = 'SomeFont';
?>
]]>
</programlisting>
</para>
<note>
<para>
Note that <link linkend='ini.open-basedir'>open_basedir</link> does
<emphasis>not</emphasis> apply to <parameter>fontfile</parameter>.
</para>
</note>
</listitem>
</varlistentry>
">
<!ENTITY gd.return.identifier '成功后返回图象对象,失败后返回 &false;。'>
<!ENTITY gd.return.trueonerror '<caution xmlns="http://docbook.org/ns/docbook"><simpara>如果 libgd 输出图像失败,函数会返回 &true;。</simpara></caution>'>
<!ENTITY gd.identifier.color "颜色标识符使用 <function xmlns='http://docbook.org/ns/docbook'>imagecolorallocate</function> 创建。">
<!ENTITY gd.value.red '红色成分的值。'>
<!ENTITY gd.value.green '绿色成分的值。'>
<!ENTITY gd.value.blue '蓝色成分的值。'>
<!ENTITY gd.source.height '源图象的高度。'>
<!ENTITY gd.source.width '源图象的宽度。'>
<!ENTITY gd.image.path '文件保存的路径,如果未设置或为 &null;,将会直接输出原始图象流。'>
<!ENTITY gd.image.new '由文件或 URL 创建一个新图象。'>
<!ENTITY gd.image.source '源图象资源。'>
<!ENTITY gd.image.destination '目标图象资源。'>
<!ENTITY gd.image.output '输出图象到浏览器或文件。'>
<!ENTITY gd.image.colors '如果图象由文件创建,只有该图象使用到的颜色会被解析。仅存在于调色板中的颜色不会被解析。'>
<!ENTITY gd.font.size '字体的尺寸,单位:点(磅)。'>
<!ENTITY gd.constants.types '<simpara xmlns="http://docbook.org/ns/docbook">
Used as a return value by <function>imagetypes</function>
</simpara>'>
<!ENTITY gd.constants.color '<simpara xmlns="http://docbook.org/ns/docbook">
Special color option which can be used instead of a color allocated with
<function>imagecolorallocate</function> or
<function>imagecolorallocatealpha</function>.
</simpara>'>
<!ENTITY gd.constants.affine '<simpara xmlns="http://docbook.org/ns/docbook">
An affine transformation type constant used by the <function>imageaffinematrixget</function> function.
</simpara>'>
<!ENTITY gd.constants.arc '<simpara xmlns="http://docbook.org/ns/docbook">
A style constant used by the <function>imagefilledarc</function> function.
</simpara>'>
<!ENTITY gd.constants.gd2 '<simpara xmlns="http://docbook.org/ns/docbook">
A type constant used by the <function>imagegd2</function> function.
</simpara>'>
<!ENTITY gd.constants.effect '<simpara xmlns="http://docbook.org/ns/docbook">
Alpha blending effect used by the <function>imagelayereffect</function> function.
</simpara>'>
<!ENTITY gd.constants.filter '<simpara xmlns="http://docbook.org/ns/docbook">
Special GD filter used by the <function>imagefilter</function> function.
</simpara>'>
<!ENTITY gd.constants.type '<simpara xmlns="http://docbook.org/ns/docbook">
Image type constant used by the <function>image_type_to_mime_type</function>
and <function>image_type_to_extension</function> functions.
</simpara>'>
<!ENTITY gd.constants.png-filter '<simpara xmlns="http://docbook.org/ns/docbook">
A special PNG filter, used by the <function>imagepng</function> function.
</simpara>'>
<!ENTITY gd.constants.flip '<simpara xmlns="http://docbook.org/ns/docbook">
Used together with <function>imageflip</function>, available as of PHP 5.5.0.
</simpara>'>
<!ENTITY gd.constants.interpolation '<simpara xmlns="http://docbook.org/ns/docbook">
Used together with <function>imagesetinterpolation</function>, available as of PHP 5.5.0.
</simpara>'>
<!ENTITY gd.changlog.t1lib '<row xmlns="http://docbook.org/ns/docbook">
<entry>7.0.0</entry><entry>T1Lib support was removed from PHP, thus this function was removed.</entry>
</row>'>
<!ENTITY gd.deprecated.gd-formats '<warning xmlns="http://docbook.org/ns/docbook"><simpara>The GD
and GD2 image formats are proprietary image formats of libgd. They have to be regarded
<emphasis>obsolete</emphasis>, and should only be used for development and testing
purposes.</simpara></warning>'>
<!ENTITY gd.changelog.image-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>image</parameter> expects a <classname>GdImage</classname>
instance now; previously, a <type>resource</type> was expected.
</entry>
</row>'>
<!-- DBM notes -->
<!ENTITY dbm.dbm-identifier.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>
dbm_identifier</parameter></term><listitem><para>DBM 链接标识符,由 <function>dbmopen</function> 返回。</para></listitem></varlistentry>'>
<!-- JSON notes -->
<!ENTITY json.implementation.superset '
<note xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<para>
PHP 实现了 JSON 的一个超集,参考
<link xlink:href="&url.rfc;7159">RFC 7159</link>.
</para>
</note>
'>
<!-- cURL notes -->
<!ENTITY curl.ch.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>handle</parameter>
</term><listitem><para>由 <function>curl_init</function> 返回的 cURL 句柄。</para></listitem></varlistentry>'>
<!ENTITY curl.mh.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>multi_handle</parameter>
</term><listitem><para>由
<function>curl_multi_init</function> 返回的 cURL 多个句柄。</para></listitem></varlistentry>'>
<!ENTITY curl.sh.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>share_handle</parameter>
</term><listitem><para>A cURL share handle returned by
<function>curl_share_init</function>.</para></listitem></varlistentry>'>
<!ENTITY curl.changelog.handle-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>handle</parameter> expects a <classname>CurlHandle</classname>
instance now; previously, a <type>resource</type> was expected.
</entry>
</row>'>
<!ENTITY curl.changelog.multi-handle-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>multi_handle</parameter> expects a <classname>CurlMultiHandle</classname>
instance now; previously, a <type>resource</type> was expected.
</entry>
</row>'>
<!ENTITY curl.changelog.share-handle-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>share_handle</parameter> expects a <classname>CurlShareHandle</classname>
instance now; previously, a <type>resource</type> was expected.
</entry>
</row>'>
<!-- dbase notes -->
<!ENTITY dbase.type-conversion '<para xmlns="http://docbook.org/ns/docbook">
每个字段都会被转换为对应的 PHP 类型,除了以下场景:
<itemizedlist>
<listitem>
<simpara>
日期会被转换成字符串。
</simpara>
</listitem>
<listitem>
<simpara>
DateTime 会被转换成字符串。
</simpara>
</listitem>
<listitem>
<simpara>
范围之外的整数
<constant>PHP_INT_MIN</constant>..<constant>PHP_INT_MAX</constant> 将返回字符串。
</simpara>
</listitem>
<listitem>
<simpara>
dbase 7.0.0 之前的版本, 布尔型 (<literal>L</literal>) 将被转换为 <literal>1</literal> 或
<literal>0</literal>。
</simpara>
</listitem>
</itemizedlist>
</para>'>
<!-- enchant entities -->
<!ENTITY enchant.param.broker '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>broker</parameter></term>
<listitem>
<para>
An Enchant broker returned by <function>enchant_broker_init</function>.
</para>
</listitem>
</varlistentry>'>
<!ENTITY enchant.param.dictionary '<varlistentry xmlns="http://docbook.org/ns/docbook">
<term><parameter>dictionary</parameter></term>
<listitem>
<para>
An Enchant dictionary returned by <function>enchant_broker_request_dict</function>
or <function>enchant_broker_request_pwl_dict</function>.
</para>
</listitem>
</varlistentry>'>
<!ENTITY enchant.changelog.broker-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>broker</parameter> expects an <classname>EnchantBroker</classname> instance now;
previoulsy, a &resource; was expected.
</entry>
</row>'>
<!ENTITY enchant.changelog.dictionary-param '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.0.0</entry>
<entry>
<parameter>dictionary</parameter> expects an <classname>EnchantDictionary</classname> instance now;
previoulsy, a &resource; was expected.
</entry>
</row>'>
<!-- IMAP notes -->
<!ENTITY imap.imap-stream.description '<varlistentry xmlns="http://docbook.org/ns/docbook"><term><parameter>
imap</parameter></term><listitem><para>由 <function>imap_open</function> 返回的 IMAP 流。</para></listitem></varlistentry>'>
<!ENTITY imap.pattern '<para xmlns="http://docbook.org/ns/docbook">指定在邮箱层级的何处开始查找。</para>
<para xmlns="http://docbook.org/ns/docbook">在组成 <parameter>pattern</parameter> 的字符中可使用两个特殊字符:
'<literal>*</literal>' 和 '<literal>%</literal>'。
'<literal>*</literal>' 是指返回所有邮箱目录. 如果将 '<literal>*</literal>' 作为
<parameter>pattern</parameter> 参数时, 则会返回整个邮箱层级结构。
'<literal>%</literal>' 是指只返回当前级次。
'<literal>%</literal>' 作为 <parameter>pattern</parameter> 参数则只会返回顶层邮箱;
'<literal>~/mail/%</literal>' 用于 <literal>UW_IMAPD</literal>
则会返回名为 <filename>~/mail</filename> 的目录, 但不包含其子目录。</para>'>
<!ENTITY imap.mailboxname.insecure '<warning xmlns="http://docbook.org/ns/docbook"><simpara>
Passing untrusted data to this parameter is <emphasis>insecure</emphasis>, unless