forked from vimeo/psalm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCallMap_81_delta.php
1214 lines (1211 loc) · 65.1 KB
/
CallMap_81_delta.php
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
<?php // phpcs:ignoreFile
/**
* This contains the information needed to convert the function signatures for php 8.1 to php 8.0 (and vice versa)
*
* This file has three sections.
* The 'added' section contains function/method names from FunctionSignatureMap (And alternates, if applicable) that do not exist in php 8.0
* The 'removed' section contains the signatures that were removed in php 8.1
* The 'changed' section contains functions for which the signature has changed for php 8.1.
* Each function in the 'changed' section has an 'old' and a 'new' section,
* representing the function as it was in PHP 8.0 and in PHP 8.1, respectively
*
* @see CallMap.php
*
* @phan-file-suppress PhanPluginMixedKeyNoKey (read by Phan when analyzing this file)
*/
return [
'added' => [
'array_is_list' => ['bool', 'array' => 'array'],
'enum_exists' => ['bool', 'enum' => 'string', 'autoload=' => 'bool'],
'fsync' => ['bool', 'stream' => 'resource'],
'fdatasync' => ['bool', 'stream' => 'resource'],
'imageavif' => ['bool', 'image'=>'GdImage', 'file='=>'resource|string|null', 'quality='=>'int', 'speed='=>'int'],
'imagecreatefromavif' => ['false|GdImage', 'filename'=>'string'],
'mysqli_fetch_column' => ['null|int|float|string|false', 'result'=>'mysqli_result', 'column='=>'int'],
'mysqli_result::fetch_column' => ['null|int|float|string|false', 'column='=>'int'],
'CURLStringFile::__construct' => ['void', 'data'=>'string', 'postname'=>'string', 'mime='=>'string'],
'Fiber::__construct' => ['void', 'callback'=>'callable'],
'Fiber::start' => ['mixed', '...args'=>'mixed'],
'Fiber::resume' => ['mixed', 'value='=>'null|mixed'],
'Fiber::throw' => ['mixed', 'exception'=>'Throwable'],
'Fiber::isStarted' => ['bool'],
'Fiber::isSuspended' => ['bool'],
'Fiber::isRunning' => ['bool'],
'Fiber::isTerminated' => ['bool'],
'Fiber::getReturn' => ['mixed'],
'Fiber::getCurrent' => ['?self'],
'Fiber::suspend' => ['mixed', 'value='=>'null|mixed'],
'FiberError::__construct' => ['void'],
'GMP::__serialize' => ['array'],
'GMP::__unserialize' => ['void', 'data'=>'array'],
'ReflectionClass::isEnum' => ['bool'],
'ReflectionEnum::getBackingType' => ['?ReflectionType'],
'ReflectionEnum::getCase' => ['ReflectionEnumUnitCase', 'name' => 'string'],
'ReflectionEnum::getCases' => ['list<ReflectionEnumUnitCase>'],
'ReflectionEnum::hasCase' => ['bool', 'name' => 'string'],
'ReflectionEnum::isBacked' => ['bool'],
'ReflectionEnumUnitCase::getEnum' => ['ReflectionEnum'],
'ReflectionEnumUnitCase::getValue' => ['UnitEnum'],
'ReflectionEnumBackedCase::getBackingValue' => ['string|int'],
'ReflectionFunctionAbstract::getTentativeReturnType' => ['?ReflectionType'],
'ReflectionFunctionAbstract::hasTentativeReturnType' => ['bool'],
'ReflectionFunctionAbstract::isStatic' => ['bool'],
'ReflectionObject::isEnum' => ['bool'],
'sodium_crypto_stream_xchacha20' => ['non-empty-string', 'length'=>'positive-int', 'nonce'=>'non-empty-string', 'key'=>'non-empty-string'],
'sodium_crypto_stream_xchacha20_keygen' => ['non-empty-string'],
'sodium_crypto_stream_xchacha20_xor' => ['string', 'message'=>'string', 'nonce'=>'non-empty-string', 'key'=>'non-empty-string'],
],
'changed' => [
'DOMDocument::createComment' => [
'old' => ['DOMComment|false', 'data'=>'string'],
'new' => ['DOMComment', 'data'=>'string'],
],
'DOMDocument::createDocumentFragment' => [
'old' => ['DOMDocumentFragment|false'],
'new' => ['DOMDocumentFragment'],
],
'DOMDocument::createTextNode' => [
'old' => ['DOMText|false', 'data'=>'string'],
'new' => ['DOMText', 'data'=>'string'],
],
'Phar::buildFromDirectory' => [
'old' => ['array|false', 'directory'=>'string', 'pattern='=>'string'],
'new' => ['array', 'directory'=>'string', 'pattern='=>'string'],
],
'Phar::buildFromIterator' => [
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
'new' => ['array', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
],
'PharData::buildFromDirectory' => [
'old' => ['array|false', 'directory'=>'string', 'pattern='=>'string'],
'new' => ['array', 'directory'=>'string', 'pattern='=>'string'],
],
'PharData::buildFromIterator' => [
'old' => ['array|false', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
'new' => ['array', 'iterator'=>'Traversable', 'baseDirectory='=>'?string'],
],
'SplFileObject::fputcsv' => [
'old' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string', 'eol='=>'string'],
],
'SplTempFileObject::fputcsv' => [
'old' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['int|false', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string', 'eol='=>'string'],
],
'finfo_buffer' => [
'old' => ['string|false', 'finfo'=>'resource', 'string'=>'string', 'flags='=>'int', 'context='=>'resource'],
'new' => ['string|false', 'finfo'=>'finfo', 'string'=>'string', 'flags='=>'int', 'context='=>'resource'],
],
'finfo_close' => [
'old' => ['bool', 'finfo'=>'resource'],
'new' => ['bool', 'finfo'=>'finfo'],
],
'finfo_file' => [
'old' => ['string|false', 'finfo'=>'resource', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'],
'new' => ['string|false', 'finfo'=>'finfo', 'filename'=>'string', 'flags='=>'int', 'context='=>'resource'],
],
'finfo_open' => [
'old' => ['resource|false', 'flags='=>'int', 'magic_database='=>'?string'],
'new' => ['finfo|false', 'flags='=>'int', 'magic_database='=>'?string'],
],
'finfo_set_flags' => [
'old' => ['bool', 'finfo'=>'resource', 'flags'=>'int'],
'new' => ['bool', 'finfo'=>'finfo', 'flags'=>'int'],
],
'fputcsv' => [
'old' => ['int|false', 'stream'=>'resource', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string'],
'new' => ['int|false', 'stream'=>'resource', 'fields'=>'array<array-key, null|scalar|Stringable>', 'separator='=>'string', 'enclosure='=>'string', 'escape='=>'string', 'eol='=>'string'],
],
'ftp_connect' => [
'old' => ['resource|false', 'hostname' => 'string', 'port=' => 'int', 'timeout=' => 'int'],
'new' => ['FTP\Connection|false', 'hostname' => 'string', 'port=' => 'int', 'timeout=' => 'int'],
],
'ftp_ssl_connect' => [
'old' => ['resource|false', 'hostname' => 'string', 'port=' => 'int', 'timeout=' => 'int'],
'new' => ['FTP\Connection|false', 'hostname' => 'string', 'port=' => 'int', 'timeout=' => 'int'],
],
'ftp_login' => [
'old' => ['bool', 'ftp' => 'resource', 'username' => 'string', 'password' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'username' => 'string', 'password' => 'string'],
],
'ftp_pwd' => [
'old' => ['string|false', 'ftp' => 'resource'],
'new' => ['string|false', 'ftp' => 'FTP\Connection'],
],
'ftp_cdup' => [
'old' => ['bool', 'ftp' => 'resource'],
'new' => ['bool', 'ftp' => 'FTP\Connection'],
],
'ftp_chdir' => [
'old' => ['bool', 'ftp' => 'resource', 'directory' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'directory' => 'string'],
],
'ftp_exec' => [
'old' => ['bool', 'ftp' => 'resource', 'command' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'command' => 'string'],
],
'ftp_raw' => [
'old' => ['?array', 'ftp' => 'resource', 'command' => 'string'],
'new' => ['?array', 'ftp' => 'FTP\Connection', 'command' => 'string'],
],
'ftp_mkdir' => [
'old' => ['string|false', 'ftp' => 'resource', 'directory' => 'string'],
'new' => ['string|false', 'ftp' => 'FTP\Connection', 'directory' => 'string'],
],
'ftp_rmdir' => [
'old' => ['bool', 'ftp' => 'resource', 'directory' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'directory' => 'string'],
],
'ftp_chmod' => [
'old' => ['int|false', 'ftp' => 'resource', 'permissions' => 'int', 'filename' => 'string'],
'new' => ['int|false', 'ftp' => 'FTP\Connection', 'permissions' => 'int', 'filename' => 'string'],
],
'ftp_alloc' => [
'old' => ['bool', 'ftp' => 'resource', 'size' => 'int', '&w_response=' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'size' => 'int', '&w_response=' => 'string'],
],
'ftp_nlist' => [
'old' => ['array|false', 'ftp' => 'resource', 'directory' => 'string'],
'new' => ['array|false', 'ftp' => 'FTP\Connection', 'directory' => 'string'],
],
'ftp_rawlist' => [
'old' => ['array|false', 'ftp' => 'resource', 'directory' => 'string', 'recursive=' => 'bool'],
'new' => ['array|false', 'ftp' => 'FTP\Connection', 'directory' => 'string', 'recursive=' => 'bool'],
],
'ftp_mlsd' => [
'old' => ['array|false', 'ftp' => 'resource', 'directory' => 'string'],
'new' => ['array|false', 'ftp' => 'FTP\Connection', 'directory' => 'string'],
],
'ftp_systype' => [
'old' => ['string|false', 'ftp' => 'resource'],
'new' => ['string|false', 'ftp' => 'FTP\Connection'],
],
'ftp_fget' => [
'old' => ['bool', 'ftp' => 'resource', 'stream' => 'resource', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'stream' => 'resource', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_nb_fget' => [
'old' => ['int', 'ftp' => 'resource', 'stream' => 'resource', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'stream' => 'resource', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_pasv' => [
'old' => ['bool', 'ftp' => 'resource', 'enable' => 'bool'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'enable' => 'bool'],
],
'ftp_get' => [
'old' => ['bool', 'ftp' => 'resource', 'local_filename' => 'string', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'local_filename' => 'string', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_nb_get' => [
'old' => ['int', 'ftp' => 'resource', 'local_filename' => 'string', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'local_filename' => 'string', 'remote_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_nb_continue' => [
'old' => ['int', 'ftp' => 'resource'],
'new' => ['int', 'ftp' => 'FTP\Connection'],
],
'ftp_fput' => [
'old' => ['bool', 'ftp' => 'resource', 'remote_filename' => 'string', 'stream' => 'resource', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'remote_filename' => 'string', 'stream' => 'resource', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_nb_fput' => [
'old' => ['int', 'ftp' => 'resource', 'remote_filename' => 'string', 'stream' => 'resource', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'remote_filename' => 'string', 'stream' => 'resource', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_put' => [
'old' => ['bool', 'ftp' => 'resource', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_append' => [
'old' => ['bool', 'ftp' => 'resource', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int'],
],
'ftp_nb_put' => [
'old' => ['int', 'ftp' => 'resource', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'remote_filename' => 'string', 'local_filename' => 'string', 'mode=' => 'int', 'offset=' => 'int'],
],
'ftp_size' => [
'old' => ['int', 'ftp' => 'resource', 'filename' => 'string'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'filename' => 'string'],
],
'ftp_mdtm' => [
'old' => ['int', 'ftp' => 'resource', 'filename' => 'string'],
'new' => ['int', 'ftp' => 'FTP\Connection', 'filename' => 'string'],
],
'ftp_rename' => [
'old' => ['bool', 'ftp' => 'resource', 'from' => 'string', 'to' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'from' => 'string', 'to' => 'string'],
],
'ftp_delete' => [
'old' => ['bool', 'ftp' => 'resource', 'filename' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'filename' => 'string'],
],
'ftp_site' => [
'old' => ['bool', 'ftp' => 'resource', 'command' => 'string'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'command' => 'string'],
],
'ftp_close' => [
'old' => ['bool', 'ftp' => 'resource'],
'new' => ['bool', 'ftp' => 'FTP\Connection'],
],
'ftp_quit' => [
'old' => ['bool', 'ftp' => 'resource'],
'new' => ['bool', 'ftp' => 'FTP\Connection'],
],
'ftp_set_option' => [
'old' => ['bool', 'ftp' => 'resource', 'option' => 'int', 'value' => 'mixed'],
'new' => ['bool', 'ftp' => 'FTP\Connection', 'option' => 'int', 'value' => 'mixed'],
],
'ftp_get_option' => [
'old' => ['int|false', 'ftp' => 'resource', 'option' => 'int'],
'new' => ['int|false', 'ftp' => 'FTP\Connection', 'option' => 'int'],
],
'hash' => [
'old' => ['non-empty-string', 'algo'=>'string', 'data'=>'string', 'binary='=>'bool'],
'new' => ['non-empty-string', 'algo'=>'string', 'data'=>'string', 'binary='=>'bool', 'options='=>'array{seed:scalar}'],
],
'hash_file' => [
'old' => ['non-empty-string|false', 'algo'=>'string', 'filename'=>'string', 'binary='=>'bool'],
'new' => ['non-empty-string|false', 'algo'=>'string', 'filename'=>'string', 'binary='=>'bool', 'options='=>'array{seed:scalar}'],
],
'hash_init' => [
'old' => ['HashContext', 'algo'=>'string', 'flags='=>'int', 'key='=>'string'],
'new' => ['HashContext', 'algo'=>'string', 'flags='=>'int', 'key='=>'string', 'options='=>'array{seed:scalar}'],
],
'imageloadfont' => [
'old' => ['int|false', 'filename'=>'string'],
'new' => ['GdFont|false', 'filename'=>'string'],
],
'imap_append' => [
'old' => ['bool', 'imap'=>'resource', 'folder'=>'string', 'message'=>'string', 'options='=>'?string', 'internal_date='=>'?string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'folder'=>'string', 'message'=>'string', 'options='=>'?string', 'internal_date='=>'?string'],
],
'imap_body' => [
'old' => ['string|false', 'imap'=>'resource', 'message_num'=>'int', 'flags='=>'int'],
'new' => ['string|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'flags='=>'int'],
],
'imap_bodystruct' => [
'old' => ['stdClass|false', 'imap'=>'resource', 'message_num'=>'int', 'section'=>'string'],
'new' => ['stdClass|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'section'=>'string'],
],
'imap_check' => [
'old' => ['stdClass|false', 'imap'=>'resource'],
'new' => ['stdClass|false', 'imap'=>'IMAP\Connection'],
],
'imap_clearflag_full' => [
'old' => ['bool', 'imap'=>'resource', 'sequence'=>'string', 'flag'=>'string', 'options='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'sequence'=>'string', 'flag'=>'string', 'options='=>'int'],
],
'imap_close' => [
'old' => ['bool', 'imap'=>'resource', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'flags='=>'int'],
],
'imap_create' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_createmailbox' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_delete' => [
'old' => ['bool', 'imap'=>'resource', 'message_nums'=>'string', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'message_nums'=>'string', 'flags='=>'int'],
],
'imap_deletemailbox' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_expunge' => [
'old' => ['bool', 'imap'=>'resource'],
'new' => ['bool', 'imap'=>'IMAP\Connection'],
],
'imap_fetch_overview' => [
'old' => ['array|false', 'imap'=>'resource', 'sequence'=>'string', 'flags='=>'int'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'sequence'=>'string', 'flags='=>'int'],
],
'imap_fetchbody' => [
'old' => ['string|false', 'imap'=>'resource', 'message_num'=>'int', 'section'=>'string', 'flags='=>'int'],
'new' => ['string|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'section'=>'string', 'flags='=>'int'],
],
'imap_fetchheader' => [
'old' => ['string|false', 'imap'=>'resource', 'message_num'=>'int', 'flags='=>'int'],
'new' => ['string|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'flags='=>'int'],
],
'imap_fetchmime' => [
'old' => ['string|false', 'imap'=>'resource', 'message_num'=>'int', 'section'=>'string', 'flags='=>'int'],
'new' => ['string|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'section'=>'string', 'flags='=>'int'],
],
'imap_fetchstructure' => [
'old' => ['stdClass|false', 'imap'=>'resource', 'message_num'=>'int', 'flags='=>'int'],
'new' => ['stdClass|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'flags='=>'int'],
],
'imap_fetchtext' => [
'old' => ['string|false', 'imap'=>'resource', 'message_num'=>'int', 'flags='=>'int'],
'new' => ['string|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'flags='=>'int'],
],
'imap_gc' => [
'old' => ['bool', 'imap'=>'resource', 'flags'=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'flags'=>'int'],
],
'imap_get_quota' => [
'old' => ['array|false', 'imap'=>'resource', 'quota_root'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'quota_root'=>'string'],
],
'imap_get_quotaroot' => [
'old' => ['array|false', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_getacl' => [
'old' => ['array|false', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_getmailboxes' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_getsubscribed' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_headerinfo' => [
'old' => ['stdClass|false', 'imap'=>'resource', 'message_num'=>'int', 'from_length='=>'int', 'subject_length='=>'int'],
'new' => ['stdClass|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int', 'from_length='=>'int', 'subject_length='=>'int'],
],
'imap_headers' => [
'old' => ['array|false', 'imap'=>'resource'],
'new' => ['array|false', 'imap'=>'IMAP\Connection'],
],
'imap_list' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_listmailbox' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_listscan' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
],
'imap_listsubscribed' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_lsub' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string'],
],
'imap_mail_copy' => [
'old' => ['bool', 'imap'=>'resource', 'message_nums'=>'string', 'mailbox'=>'string', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'message_nums'=>'string', 'mailbox'=>'string', 'flags='=>'int'],
],
'imap_mail_move' => [
'old' => ['bool', 'imap'=>'resource', 'message_nums'=>'string', 'mailbox'=>'string', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'message_nums'=>'string', 'mailbox'=>'string', 'flags='=>'int'],
],
'imap_mailboxmsginfo' => [
'old' => ['stdClass', 'imap'=>'resource'],
'new' => ['stdClass', 'imap'=>'IMAP\Connection'],
],
'imap_msgno' => [
'old' => ['int', 'imap'=>'resource', 'message_uid'=>'int'],
'new' => ['int', 'imap'=>'IMAP\Connection', 'message_uid'=>'int'],
],
'imap_num_msg' => [
'old' => ['int|false', 'imap'=>'resource'],
'new' => ['int|false', 'imap'=>'IMAP\Connection'],
],
'imap_num_recent' => [
'old' => ['int', 'imap'=>'resource'],
'new' => ['int', 'imap'=>'IMAP\Connection'],
],
'imap_open' => [
'old' => ['resource|false', 'mailbox'=>'string', 'user'=>'string', 'password'=>'string', 'flags='=>'int', 'retries='=>'int', 'options='=>'array'],
'new' => ['IMAP\Connection|false', 'mailbox'=>'string', 'user'=>'string', 'password'=>'string', 'flags='=>'int', 'retries='=>'int', 'options='=>'array'],
],
'imap_ping' => [
'old' => ['bool', 'imap'=>'resource'],
'new' => ['bool', 'imap'=>'IMAP\Connection'],
],
'imap_rename' => [
'old' => ['bool', 'imap'=>'resource', 'from'=>'string', 'to'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'from'=>'string', 'to'=>'string'],
],
'imap_renamemailbox' => [
'old' => ['bool', 'imap'=>'resource', 'from'=>'string', 'to'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'from'=>'string', 'to'=>'string'],
],
'imap_reopen' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string', 'flags='=>'int', 'retries='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string', 'flags='=>'int', 'retries='=>'int'],
],
'imap_savebody' => [
'old' => ['bool', 'imap'=>'resource', 'file'=>'string|resource', 'message_num'=>'int', 'section='=>'string', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'file'=>'string|resource', 'message_num'=>'int', 'section='=>'string', 'flags='=>'int'],
],
'imap_scan' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
],
'imap_scanmailbox' => [
'old' => ['array|false', 'imap'=>'resource', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'reference'=>'string', 'pattern'=>'string', 'content'=>'string'],
],
'imap_search' => [
'old' => ['array|false', 'imap'=>'resource', 'criteria'=>'string', 'flags='=>'int', 'charset='=>'string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'criteria'=>'string', 'flags='=>'int', 'charset='=>'string'],
],
'imap_set_quota' => [
'old' => ['bool', 'imap'=>'resource', 'quota_root'=>'string', 'mailbox_size'=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'quota_root'=>'string', 'mailbox_size'=>'int'],
],
'imap_setacl' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string', 'user_id'=>'string', 'rights'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string', 'user_id'=>'string', 'rights'=>'string'],
],
'imap_setflag_full' => [
'old' => ['bool', 'imap'=>'resource', 'sequence'=>'string', 'flag'=>'string', 'options='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'sequence'=>'string', 'flag'=>'string', 'options='=>'int'],
],
'imap_sort' => [
'old' => ['array|false', 'imap'=>'resource', 'criteria'=>'int', 'reverse'=>'bool', 'flags='=>'int', 'search_criteria='=>'?string', 'charset='=>'?string'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'criteria'=>'int', 'reverse'=>'bool', 'flags='=>'int', 'search_criteria='=>'?string', 'charset='=>'?string'],
],
'imap_status' => [
'old' => ['stdClass|false', 'imap'=>'resource', 'mailbox'=>'string', 'flags'=>'int'],
'new' => ['stdClass|false', 'imap'=>'IMAP\Connection', 'mailbox'=>'string', 'flags'=>'int'],
],
'imap_subscribe' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'imap_thread' => [
'old' => ['array|false', 'imap'=>'resource', 'flags='=>'int'],
'new' => ['array|false', 'imap'=>'IMAP\Connection', 'flags='=>'int'],
],
'imap_uid' => [
'old' => ['int|false', 'imap'=>'resource', 'message_num'=>'int'],
'new' => ['int|false', 'imap'=>'IMAP\Connection', 'message_num'=>'int'],
],
'imap_undelete' => [
'old' => ['bool', 'imap'=>'resource', 'message_nums'=>'string', 'flags='=>'int'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'message_nums'=>'string', 'flags='=>'int'],
],
'imap_unsubscribe' => [
'old' => ['bool', 'imap'=>'resource', 'mailbox'=>'string'],
'new' => ['bool', 'imap'=>'IMAP\Connection', 'mailbox'=>'string'],
],
'ini_alter' => [
'old' => ['string|false', 'option'=>'string', 'value'=>'string'],
'new' => ['string|false', 'option'=>'string', 'value'=>'string|int|float|bool|null'],
],
'ini_set' => [
'old' => ['string|false', 'option'=>'string', 'value'=>'string'],
'new' => ['string|false', 'option'=>'string', 'value'=>'string|int|float|bool|null'],
],
'IntlDateFormatter::__construct' => [
'old' => ['void', 'locale'=>'?string', 'dateType'=>'int', 'timeType'=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
'new' => ['void', 'locale'=>'?string', 'dateType='=>'int', 'timeType='=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
],
'IntlDateFormatter::create' => [
'old' => ['?IntlDateFormatter', 'locale'=>'?string', 'dateType'=>'int', 'timeType'=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
'new' => ['?IntlDateFormatter', 'locale'=>'?string', 'dateType='=>'int', 'timeType='=>'int', 'timezone='=>'IntlTimeZone|DateTimeZone|string|null', 'calendar='=>'IntlCalendar|int|null', 'pattern='=>'?string'],
],
'ldap_add' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_add_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_bind' => [
'old' => ['bool', 'ldap'=>'resource', 'dn='=>'string|null', 'password='=>'string|null'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn='=>'string|null', 'password='=>'string|null'],
],
'ldap_bind_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn='=>'string|null', 'password='=>'string|null', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn='=>'string|null', 'password='=>'string|null', 'controls='=>'?array'],
],
'ldap_close' => [
'old' => ['bool', 'ldap'=>'resource'],
'new' => ['bool', 'ldap'=>'LDAP\Connection'],
],
'ldap_compare' => [
'old' => ['bool|int', 'ldap'=>'resource', 'dn'=>'string', 'attribute'=>'string', 'value'=>'string', 'controls='=>'?array'],
'new' => ['bool|int', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'attribute'=>'string', 'value'=>'string', 'controls='=>'?array'],
],
'ldap_connect' => [
'old' => ['resource|false', 'uri='=>'?string', 'port='=>'int', 'wallet='=>'string', 'password='=>'string', 'auth_mode='=>'int'],
'new' => ['LDAP\Connection|false', 'uri='=>'?string', 'port='=>'int', 'wallet='=>'string', 'password='=>'string', 'auth_mode='=>'int'],
],
'ldap_count_entries' => [
'old' => ['int', 'ldap'=>'resource', 'result'=>'resource'],
'new' => ['int', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result'],
],
'ldap_delete' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'controls='=>'?array'],
],
'ldap_delete_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'controls='=>'?array'],
],
'ldap_errno' => [
'old' => ['int', 'ldap'=>'resource'],
'new' => ['int', 'ldap'=>'LDAP\Connection'],
],
'ldap_error' => [
'old' => ['string', 'ldap'=>'resource'],
'new' => ['string', 'ldap'=>'LDAP\Connection'],
],
'ldap_exop' => [
'old' => ['resource|bool', 'ldap'=>'resource', 'request_oid'=>'string', 'request_data='=>'?string', 'controls='=>'array|null', '&w_response_data='=>'string', '&w_response_oid='=>'string'],
'new' => ['LDAP\Result|bool', 'ldap'=>'LDAP\Connection', 'request_oid'=>'string', 'request_data='=>'?string', 'controls='=>'?array', '&w_response_data='=>'string', '&w_response_oid='=>'string'],
],
'ldap_exop_passwd' => [
'old' => ['bool|string', 'ldap'=>'resource', 'user='=>'string', 'old_password='=>'string', 'new_password='=>'string', '&w_controls='=>'array|null'],
'new' => ['bool|string', 'ldap'=>'LDAP\Connection', 'user='=>'string', 'old_password='=>'string', 'new_password='=>'string', '&w_controls='=>'array|null'],
],
'ldap_exop_refresh' => [
'old' => ['int|false', 'ldap'=>'resource', 'dn'=>'string', 'ttl'=>'int'],
'new' => ['int|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'ttl'=>'int'],
],
'ldap_exop_whoami' => [
'old' => ['string|false', 'ldap'=>'resource'],
'new' => ['string|false', 'ldap'=>'LDAP\Connection'],
],
'ldap_first_attribute' => [
'old' => ['string|false', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['string|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_first_entry' => [
'old' => ['resource|false', 'ldap'=>'resource', 'result'=>'resource'],
'new' => ['LDAP\ResultEntry|false', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result'],
],
'ldap_first_reference' => [
'old' => ['resource|false', 'ldap'=>'resource', 'result'=>'resource'],
'new' => ['LDAP\ResultEntry|false', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result'],
],
'ldap_free_result' => [
'old' => ['bool', 'ldap'=>'resource'],
'new' => ['bool', 'result'=>'LDAP\Result'],
],
'ldap_get_attributes' => [
'old' => ['array', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['array', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_get_dn' => [
'old' => ['string|false', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['string|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_get_entries' => [
'old' => ['array|false', 'ldap'=>'resource', 'result'=>'resource'],
'new' => ['array|false', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result'],
],
'ldap_get_option' => [
'old' => ['bool', 'ldap'=>'resource', 'option'=>'int', '&w_value='=>'array|string|int'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'option'=>'int', '&w_value='=>'array|string|int'],
],
'ldap_get_values' => [
'old' => ['array|false', 'ldap'=>'resource', 'entry'=>'resource', 'attribute'=>'string'],
'new' => ['array|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry', 'attribute'=>'string'],
],
'ldap_get_values_len' => [
'old' => ['array|false', 'ldap'=>'resource', 'entry'=>'resource', 'attribute'=>'string'],
'new' => ['array|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry', 'attribute'=>'string'],
],
'ldap_list' => [
'old' => ['resource|false', 'ldap'=>'resource|array', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
'new' => ['LDAP\Result|LDAP\Result[]|false', 'ldap'=>'LDAP\Connection|LDAP\Connection[]', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
],
'ldap_mod_add' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_mod_add_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_mod_del' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_mod_del_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_mod_replace' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_mod_replace_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_modify' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'entry'=>'array', 'controls='=>'?array'],
],
'ldap_modify_batch' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'modifications_info'=>'array', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'modifications_info'=>'array', 'controls='=>'?array'],
],
'ldap_next_attribute' => [
'old' => ['string|false', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['string|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_next_entry' => [
'old' => ['resource|false', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['LDAP\ResultEntry|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_next_reference' => [
'old' => ['resource|false', 'ldap'=>'resource', 'entry'=>'resource'],
'new' => ['LDAP\ResultEntry|false', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry'],
],
'ldap_parse_exop' => [
'old' => ['bool', 'ldap'=>'resource', 'result'=>'resource', '&w_response_data='=>'string', '&w_response_oid='=>'string'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result', '&w_response_data='=>'string', '&w_response_oid='=>'string'],
],
'ldap_parse_reference' => [
'old' => ['bool', 'ldap'=>'resource', 'entry'=>'resource', '&w_referrals'=>'array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'entry'=>'LDAP\ResultEntry', '&w_referrals'=>'array'],
],
'ldap_parse_result' => [
'old' => ['bool', 'ldap'=>'resource', 'result'=>'resource', '&w_error_code'=>'int', '&w_matched_dn='=>'string', '&w_error_message='=>'string', '&w_referrals='=>'array', '&w_controls='=>'array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'result'=>'LDAP\Result', '&w_error_code'=>'int', '&w_matched_dn='=>'string', '&w_error_message='=>'string', '&w_referrals='=>'array', '&w_controls='=>'array'],
],
'ldap_read' => [
'old' => ['resource|false', 'ldap'=>'resource|array', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
'new' => ['LDAP\Result|LDAP\Result[]|false', 'ldap'=>'LDAP\Connection|LDAP\Connection[]', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
],
'ldap_rename' => [
'old' => ['bool', 'ldap'=>'resource', 'dn'=>'string', 'new_rdn'=>'string', 'new_parent'=>'string', 'delete_old_rdn'=>'bool', 'controls='=>'?array'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'new_rdn'=>'string', 'new_parent'=>'string', 'delete_old_rdn'=>'bool', 'controls='=>'?array'],
],
'ldap_rename_ext' => [
'old' => ['resource|false', 'ldap'=>'resource', 'dn'=>'string', 'new_rdn'=>'string', 'new_parent'=>'string', 'delete_old_rdn'=>'bool', 'controls='=>'?array'],
'new' => ['LDAP\Result|false', 'ldap'=>'LDAP\Connection', 'dn'=>'string', 'new_rdn'=>'string', 'new_parent'=>'string', 'delete_old_rdn'=>'bool', 'controls='=>'?array'],
],
'ldap_sasl_bind' => [
'old' => ['bool', 'ldap'=>'resource', 'dn='=>'?string', 'password='=>'?string', 'mech='=>'?string', 'realm='=>'?string', 'authc_id='=>'?string', 'authz_id='=>'?string', 'props='=>'?string'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'dn='=>'?string', 'password='=>'?string', 'mech='=>'?string', 'realm='=>'?string', 'authc_id='=>'?string', 'authz_id='=>'?string', 'props='=>'?string'],
],
'ldap_search' => [
'old' => ['resource[]|resource|false', 'ldap'=>'resource|resource[]', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
'new' => ['LDAP\Result|LDAP\Result[]|false', 'ldap'=>'LDAP\Connection|LDAP\Connection[]', 'base'=>'array|string', 'filter'=>'array|string', 'attributes='=>'array', 'attributes_only='=>'int', 'sizelimit='=>'int', 'timelimit='=>'int', 'deref='=>'int', 'controls='=>'?array'],
],
'ldap_set_option' => [
'old' => ['bool', 'ldap'=>'resource|null', 'option'=>'int', 'value'=>'mixed'],
'new' => ['bool', 'ldap'=>'LDAP\Connection|null', 'option'=>'int', 'value'=>'mixed'],
],
'ldap_set_rebind_proc' => [
'old' => ['bool', 'ldap'=>'resource', 'callback'=>'?callable'],
'new' => ['bool', 'ldap'=>'LDAP\Connection', 'callback'=>'?callable'],
],
'ldap_start_tls' => [
'old' => ['bool', 'ldap'=>'resource'],
'new' => ['bool', 'ldap'=>'LDAP\Connection'],
],
'ldap_unbind' => [
'old' => ['bool', 'ldap'=>'resource'],
'new' => ['bool', 'ldap'=>'LDAP\Connection'],
],
'mysqli::connect' => [
'old' => ['null|false', 'hostname='=>'string|null', 'username='=>'string|null', 'password='=>'string|null', 'database='=>'string|null', 'port='=>'int|null', 'socket='=>'string|null'],
'new' => ['bool', 'hostname='=>'string|null', 'username='=>'string|null', 'password='=>'string|null', 'database='=>'string|null', 'port='=>'int|null', 'socket='=>'string|null'],
],
'mysqli_execute' => [
'old' => ['bool', 'statement' => 'mysqli_stmt'],
'new' => ['bool', 'statement' => 'mysqli_stmt', 'params=' => 'list<mixed>|null'],
],
'mysqli_stmt_execute' => [
'old' => ['bool', 'statement' => 'mysqli_stmt'],
'new' => ['bool', 'statement' => 'mysqli_stmt', 'params=' => 'list<mixed>|null'],
],
'mysqli_stmt::execute' => [
'old' => ['bool'],
'new' => ['bool', 'params=' => 'list<mixed>|null'],
],
'openssl_decrypt' => [
'old' => ['string|false', 'data'=>'string', 'cipher_algo'=>'string', 'passphrase'=>'string', 'options='=>'int', 'iv='=>'string', 'tag='=>'string', 'aad='=>'string'],
'new' => ['string|false', 'data'=>'string', 'cipher_algo'=>'string', 'passphrase'=>'string', 'options='=>'int', 'iv='=>'string', 'tag='=>'?string', 'aad='=>'string'],
],
'pg_affected_rows' => [
'old' => ['int', 'result' => 'resource'],
'new' => ['int', 'result' => '\PgSql\Result'],
],
'pg_cancel_query' => [
'old' => ['bool', 'connection' => 'resource'],
'new' => ['bool', 'connection' => '\PgSql\Connection'],
],
'pg_client_encoding' => [
'old' => ['string', 'connection=' => '?resource'],
'new' => ['string', 'connection=' => '?\PgSql\Connection'],
],
'pg_close' => [
'old' => ['bool', 'connection=' => '?resource'],
'new' => ['bool', 'connection=' => '?\PgSql\Connection'],
],
'pg_connect' => [
'old' => ['resource|false', 'connection_string' => 'string', 'flags=' => 'int'],
'new' => ['\PgSql\Connection|false', 'connection_string' => 'string', 'flags=' => 'int'],
],
'pg_connect_poll' => [
'old' => ['int', 'connection' => 'resource'],
'new' => ['int', 'connection' => '\PgSql\Connection'],
],
'pg_connection_busy' => [
'old' => ['bool', 'connection' => 'resource'],
'new' => ['bool', 'connection' => '\PgSql\Connection'],
],
'pg_connection_reset' => [
'old' => ['bool', 'connection' => 'resource'],
'new' => ['bool', 'connection' => '\PgSql\Connection'],
],
'pg_connection_status' => [
'old' => ['int', 'connection' => 'resource'],
'new' => ['int', 'connection' => '\PgSql\Connection'],
],
'pg_consume_input' => [
'old' => ['bool', 'connection' => 'resource'],
'new' => ['bool', 'connection' => '\PgSql\Connection'],
],
'pg_convert' => [
'old' => ['array|false', 'connection' => 'resource', 'table_name' => 'string', 'values' => 'array', 'flags=' => 'int'],
'new' => ['array|false', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'values' => 'array', 'flags=' => 'int'],
],
'pg_copy_from' => [
'old' => ['bool', 'connection' => 'resource', 'table_name' => 'string', 'rows' => 'array', 'separator=' => 'string', 'null_as=' => 'string'],
'new' => ['bool', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'rows' => 'array', 'separator=' => 'string', 'null_as=' => 'string'],
],
'pg_copy_to' => [
'old' => ['array|false', 'connection' => 'resource', 'table_name' => 'string', 'separator=' => 'string', 'null_as=' => 'string'],
'new' => ['array|false', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'separator=' => 'string', 'null_as=' => 'string'],
],
'pg_dbname' => [
'old' => ['string', 'connection=' => '?resource'],
'new' => ['string', 'connection=' => '?\PgSql\Connection'],
],
'pg_delete' => [
'old' => ['string|bool', 'connection' => 'resource', 'table_name' => 'string', 'conditions' => 'array', 'flags=' => 'int'],
'new' => ['string|bool', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'conditions' => 'array', 'flags=' => 'int'],
],
'pg_end_copy' => [
'old' => ['bool', 'connection=' => '?resource'],
'new' => ['bool', 'connection=' => '?\PgSql\Connection'],
],
'pg_escape_bytea' => [
'old' => ['string', 'connection' => 'resource', 'string' => 'string'],
'new' => ['string', 'connection' => '\PgSql\Connection', 'string' => 'string'],
],
'pg_escape_identifier' => [
'old' => ['string|false', 'connection' => 'resource', 'string' => 'string'],
'new' => ['string|false', 'connection' => '\PgSql\Connection', 'string' => 'string'],
],
'pg_escape_literal' => [
'old' => ['string|false', 'connection' => 'resource', 'string' => 'string'],
'new' => ['string|false', 'connection' => '\PgSql\Connection', 'string' => 'string'],
],
'pg_escape_string' => [
'old' => ['string', 'connection' => 'resource', 'string' => 'string'],
'new' => ['string', 'connection' => '\PgSql\Connection', 'string' => 'string'],
],
'pg_exec' => [
'old' => ['resource|false', 'connection' => 'resource', 'query' => 'string'],
'new' => ['\PgSql\Result|false', 'connection' => '\PgSql\Connection', 'query' => 'string'],
],
'pg_exec\'1' => [
'old' => ['resource|false', 'connection' => 'string'],
'new' => ['\PgSql\Result|false', 'connection' => 'string'],
],
'pg_execute' => [
'old' => ['resource|false', 'connection' => 'resource', 'statement_name' => 'string', 'params' => 'array'],
'new' => ['\PgSql\Result|false', 'connection' => '\PgSql\Connection', 'statement_name' => 'string', 'params' => 'array'],
],
'pg_execute\'1' => [
'old' => ['resource|false', 'connection' => 'string', 'statement_name' => 'array'],
'new' => ['\PgSql\Result|false', 'connection' => 'string', 'statement_name' => 'array'],
],
'pg_fetch_all' => [
'old' => ['array<array>', 'result' => 'resource', 'mode=' => 'int'],
'new' => ['array<array>', 'result' => '\PgSql\Result', 'mode=' => 'int'],
],
'pg_fetch_all_columns' => [
'old' => ['array', 'result' => 'resource', 'field=' => 'int'],
'new' => ['array', 'result' => '\PgSql\Result', 'field=' => 'int'],
],
'pg_fetch_array' => [
'old' => ['array<string|null>|false', 'result' => 'resource', 'row=' => '?int', 'mode=' => 'int'],
'new' => ['array<string|null>|false', 'result' => '\PgSql\Result', 'row=' => '?int', 'mode=' => 'int'],
],
'pg_fetch_assoc' => [
'old' => ['array<string, mixed>|false', 'result' => 'resource', 'row=' => '?int'],
'new' => ['array<string, mixed>|false', 'result' => '\PgSql\Result', 'row=' => '?int'],
],
'pg_fetch_object' => [
'old' => ['object|false', 'result' => 'resource', 'row=' => '?int', 'class=' => 'string', 'constructor_args=' => 'array'],
'new' => ['object|false', 'result' => '\PgSql\Result', 'row=' => '?int', 'class=' => 'string', 'constructor_args=' => 'array'],
],
'pg_fetch_result' => [
'old' => ['string|false|null', 'result' => 'resource', 'row' => 'string|int'],
'new' => ['string|false|null', 'result' => '\PgSql\Result', 'row' => 'string|int'],
],
'pg_fetch_result\'1' => [
'old' => ['string|false|null', 'result' => 'resource', 'row' => '?int', 'field' => 'string|int'],
'new' => ['string|false|null', 'result' => '\PgSql\Result', 'row' => '?int', 'field' => 'string|int'],
],
'pg_fetch_row' => [
'old' => ['array|false', 'result' => 'resource', 'row=' => '?int', 'mode=' => 'int'],
'new' => ['array|false', 'result' => '\PgSql\Result', 'row=' => '?int', 'mode=' => 'int'],
],
'pg_field_is_null' => [
'old' => ['int|false', 'result' => 'resource', 'row'=>'string|int'],
'new' => ['int|false', 'result' => '\PgSql\Result', 'row'=>'string|int'],
],
'pg_field_is_null\'1' => [
'old' => ['int|false', 'result' => 'resource', 'row' => 'int', 'field' => 'string|int'],
'new' => ['int|false', 'result' => '\PgSql\Result', 'row' => 'int', 'field' => 'string|int'],
],
'pg_field_name' => [
'old' => ['string', 'result' => 'resource', 'field' => 'int'],
'new' => ['string', 'result' => '\PgSql\Result', 'field' => 'int'],
],
'pg_field_num' => [
'old' => ['int', 'result' => 'resource', 'field' => 'string'],
'new' => ['int', 'result' => '\PgSql\Result', 'field' => 'string'],
],
'pg_field_prtlen' => [
'old' => ['int|false', 'result' => 'resource', 'row' => 'string|int'],
'new' => ['int|false', 'result' => '\PgSql\Result', 'row' => 'string|int'],
],
'pg_field_prtlen\'1' => [
'old' => ['int|false', 'result' => 'resource', 'row' => 'int', 'field' => 'string|int'],
'new' => ['int|false', 'result' => '\PgSql\Result', 'row' => 'int', 'field' => 'string|int'],
],
'pg_field_size' => [
'old' => ['int', 'result' => 'resource', 'field' => 'int'],
'new' => ['int', 'result' => '\PgSql\Result', 'field' => 'int'],
],
'pg_field_table' => [
'old' => ['string|int|false', 'result' => 'resource', 'field' => 'int', 'oid_only=' => 'bool'],
'new' => ['string|int|false', 'result' => '\PgSql\Result', 'field' => 'int', 'oid_only=' => 'bool'],
],
'pg_field_type' => [
'old' => ['string', 'result' => 'resource', 'field' => 'int'],
'new' => ['string', 'result' => '\PgSql\Result', 'field' => 'int'],
],
'pg_field_type_oid' => [
'old' => ['int|string', 'result' => 'resource', 'field' => 'int'],
'new' => ['int|string', 'result' => '\PgSql\Result', 'field' => 'int'],
],
'pg_flush' => [
'old' => ['int|bool', 'connection' => 'resource'],
'new' => ['int|bool', 'connection' => '\PgSql\Connection'],
],
'pg_free_result' => [
'old' => ['bool', 'result' => 'resource'],
'new' => ['bool', 'result' => '\PgSql\Result'],
],
'pg_get_notify' => [
'old' => ['array|false', 'connection' => 'resource', 'mode=' => 'int'],
'new' => ['array|false', 'connection' => '\PgSql\Connection', 'mode=' => 'int'],
],
'pg_get_pid' => [
'old' => ['int', 'connection' => 'resource'],
'new' => ['int', 'connection' => '\PgSql\Connection'],
],
'pg_get_result' => [
'old' => ['resource|false', 'connection' => 'resource'],
'new' => ['\PgSql\Result|false', 'connection' => '\PgSql\Connection'],
],
'pg_host' => [
'old' => ['string', 'connection=' => 'resource'],
'new' => ['string', 'connection=' => '?\PgSql\Connection'],
],
'pg_insert' => [
'old' => ['resource|string|false', 'connection' => 'resource', 'table_name' => 'string', 'values' => 'array', 'flags=' => 'int'],
'new' => ['\PgSql\Result|string|false', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'values' => 'array', 'flags=' => 'int'],
],
'pg_last_error' => [
'old' => ['string', 'connection=' => '?resource'],
'new' => ['string', 'connection=' => '?\PgSql\Connection'],
],
'pg_last_notice' => [
'old' => ['string|array|bool', 'connection' => 'resource', 'mode=' => 'int'],
'new' => ['string|array|bool', 'connection' => '\PgSql\Connection', 'mode=' => 'int'],
],
'pg_last_oid' => [
'old' => ['string|int|false', 'result' => 'resource'],
'new' => ['string|int|false', 'result' => '\PgSql\Result'],
],
'pg_lo_close' => [
'old' => ['bool', 'lob' => 'resource'],
'new' => ['bool', 'lob' => '\PgSql\Lob'],
],
'pg_lo_create' => [
'old' => ['int|string|false', 'connection=' => 'resource', 'oid=' => 'int|string'],
'new' => ['int|string|false', 'connection=' => '\PgSql\Connection', 'oid=' => 'int|string'],
],
'pg_lo_export' => [
'old' => ['bool', 'connection' => 'resource', 'oid' => 'int|string', 'filename' => 'string'],
'new' => ['bool', 'connection' => '\PgSql\Connection', 'oid' => 'int|string', 'filename' => 'string'],
],
'pg_lo_import' => [
'old' => ['int|string|false', 'connection' => 'resource', 'filename' => 'string', 'oid' => 'string|int'],
'new' => ['int|string|false', 'connection' => '\PgSql\Connection', 'filename' => 'string', 'oid' => 'string|int'],
],
'pg_lo_open' => [
'old' => ['resource|false', 'connection' => 'resource', 'oid' => 'int|string', 'mode' => 'string'],
'new' => ['\PgSql\Lob|false', 'connection' => '\PgSql\Connection', 'oid' => 'int|string', 'mode' => 'string'],
],
'pg_lo_open\'1' => [
'old' => ['resource|false', 'connection' => 'int|string', 'oid' => 'string'],
'new' => ['\PgSql\Lob|false', 'connection' => 'int|string', 'oid' => 'string'],
],
'pg_lo_read' => [
'old' => ['string|false', 'lob' => 'resource', 'length=' => 'int'],
'new' => ['string|false', 'lob' => '\PgSql\Lob', 'length=' => 'int'],
],
'pg_lo_read_all' => [
'old' => ['int', 'lob' => 'resource'],
'new' => ['int', 'lob' => '\PgSql\Lob'],
],
'pg_lo_seek' => [
'old' => ['bool', 'lob' => 'resource', 'offset' => 'int', 'whence=' => 'int'],
'new' => ['bool', 'lob' => '\PgSql\Lob', 'offset' => 'int', 'whence=' => 'int'],
],
'pg_lo_tell' => [
'old' => ['int', 'lob' => 'resource'],
'new' => ['int', 'lob' => '\PgSql\Lob'],
],
'pg_lo_truncate' => [
'old' => ['bool', 'lob' => 'resource', 'size' => 'int'],
'new' => ['bool', 'lob' => '\PgSql\Lob', 'size' => 'int'],
],
'pg_lo_unlink' => [
'old' => ['bool', 'connection' => 'resource', 'oid' => 'int|string'],
'new' => ['bool', 'connection' => '\PgSql\Connection', 'oid' => 'int|string'],
],
'pg_lo_write' => [
'old' => ['int|false', 'lob' => 'resource', 'data' => 'string', 'length=' => '?int'],
'new' => ['int|false', 'lob' => '\PgSql\Lob', 'data' => 'string', 'length=' => '?int'],
],
'pg_meta_data' => [
'old' => ['array|false', 'connection' => 'resource', 'table_name' => 'string', 'extended=' => 'bool'],
'new' => ['array|false', 'connection' => '\PgSql\Connection', 'table_name' => 'string', 'extended=' => 'bool'],
],