forked from somia/igbinary
-
Notifications
You must be signed in to change notification settings - Fork 66
/
package.xml
1094 lines (1093 loc) · 38.7 KB
/
package.xml
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"?>
<package packagerversion="1.9.1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>igbinary</name>
<channel>pecl.php.net</channel>
<summary>igbinary extension</summary>
<description>Igbinary is a drop in replacement for the standard php serializer. Instead of
the time and space consuming textual representation used by PHP's serialize(), igbinary stores php data
structures in a compact binary form. Savings are significant when using
memcached or similar memory based storages for serialized data.</description>
<lead>
<name>Oleg Grenrus</name>
<user>phadej</user>
<email>oleg.grenrus@iki.fi</email>
<active>yes</active>
</lead>
<lead>
<name>Pierre Joye</name>
<user>pajoye</user>
<email>pierre@php.net</email>
<active>yes</active>
</lead>
<lead>
<name>Teddy Grenman</name>
<user>tricky</user>
<email>teddy.pecl@luuseri.com</email>
<active>yes</active>
</lead>
<lead>
<name>Tyson Andre</name>
<user>tandre</user>
<email>tandre@php.net</email>
<active>yes</active>
</lead>
<date>2023-12-02</date>
<time>16:00:00</time>
<version>
<release>3.2.15</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix crash in igbinary_unserialize_object_enum_case with opcache protected memory and non-constant value.
</notes>
<contents>
<dir name="/">
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="igbinary.h" role="src" />
<file name="php_igbinary.h" role="src" />
<file name="src/php7/hash.h" role="src" />
<file name="src/php7/hash_ptr.h" role="src" />
<file name="src/php7/hash_si.c" role="src" />
<file name="src/php7/hash_si_ptr.c" role="src" />
<file name="src/php7/igbinary.c" role="src" />
<file name="src/php7/igbinary.h" role="src" />
<file name="src/php7/igbinary_bswap.h" role="src" />
<file name="src/php7/igbinary_macros.h" role="src" />
<file name="src/php7/igbinary_zend_hash.h" role="src" />
<file name="src/php7/php_igbinary.h" role="src" />
<file name="src/php7/ig_win32.h" role="src" />
<file name="igbinary.php" role="doc" />
<file name="igbinary.php.ini" role="doc" />
<file name="tags.sh" role="doc" />
<file name="igbinary.spec" role="doc" />
<file name="COPYING" role="doc" />
<file name="CREDITS" role="doc" />
<file name="README.md" role="doc" />
<file name="TECH_NOTES.md" role="doc" />
<file name="NEWS" role="doc" />
<!-- Generated by: ls tests|grep -E '(phpt|inc)$' |LC_ALL=C sort|sed 's,.*, <file name="\0" role="test" />,' -->
<dir name="tests">
<file name="__serialize_001.phpt" role="test" />
<file name="__serialize_002.phpt" role="test" />
<file name="__serialize_003.phpt" role="test" />
<file name="__serialize_004.phpt" role="test" />
<file name="__serialize_005.phpt" role="test" />
<file name="__serialize_006.phpt" role="test" />
<file name="__serialize_007.phpt" role="test" />
<file name="__serialize_008.phpt" role="test" />
<file name="__serialize_009.phpt" role="test" />
<file name="__serialize_010.phpt" role="test" />
<file name="__serialize_011.phpt" role="test" />
<file name="__serialize_012.phpt" role="test" />
<file name="__serialize_013.phpt" role="test" />
<file name="__serialize_013_php8.phpt" role="test" />
<file name="__serialize_014.phpt" role="test" />
<file name="__serialize_014_php8.phpt" role="test" />
<file name="__serialize_015.phpt" role="test" />
<file name="__serialize_016.phpt" role="test" />
<file name="__serialize_016_php8.phpt" role="test" />
<file name="__serialize_017.phpt" role="test" />
<file name="__serialize_018.phpt" role="test" />
<file name="__serialize_019.phpt" role="test" />
<file name="__serialize_020.phpt" role="test" />
<file name="__serialize_021.phpt" role="test" />
<file name="__serialize_022.phpt" role="test" />
<file name="igbinary_001.phpt" role="test" />
<file name="igbinary_002.phpt" role="test" />
<file name="igbinary_003.phpt" role="test" />
<file name="igbinary_004.phpt" role="test" />
<file name="igbinary_005.phpt" role="test" />
<file name="igbinary_006.phpt" role="test" />
<file name="igbinary_007.phpt" role="test" />
<file name="igbinary_008.phpt" role="test" />
<file name="igbinary_009.phpt" role="test" />
<file name="igbinary_009b.phpt" role="test" />
<file name="igbinary_009b_php8.phpt" role="test" />
<file name="igbinary_010.phpt" role="test" />
<file name="igbinary_012.phpt" role="test" />
<file name="igbinary_013.phpt" role="test" />
<file name="igbinary_014.phpt" role="test" />
<file name="igbinary_015.phpt" role="test" />
<file name="igbinary_015b.phpt" role="test" />
<file name="igbinary_015c.phpt" role="test" />
<file name="igbinary_016.phpt" role="test" />
<file name="igbinary_017.phpt" role="test" />
<file name="igbinary_018.phpt" role="test" />
<file name="igbinary_019.phpt" role="test" />
<file name="igbinary_020.phpt" role="test" />
<file name="igbinary_021.phpt" role="test" />
<file name="igbinary_022.phpt" role="test" />
<file name="igbinary_022_php82.phpt" role="test" />
<file name="igbinary_023.phpt" role="test" />
<file name="igbinary_024.phpt" role="test" />
<file name="igbinary_025.phpt" role="test" />
<file name="igbinary_025b.phpt" role="test" />
<file name="igbinary_026.phpt" role="test" />
<file name="igbinary_026_php8.phpt" role="test" />
<file name="igbinary_026b.phpt" role="test" />
<file name="igbinary_026b_php8.phpt" role="test" />
<file name="igbinary_027.phpt" role="test" />
<file name="igbinary_028.phpt" role="test" />
<file name="igbinary_029.phpt" role="test" />
<file name="igbinary_030_php7.phpt" role="test" />
<file name="igbinary_030_php72.phpt" role="test" />
<file name="igbinary_031.phpt" role="test" />
<file name="igbinary_032.phpt" role="test" />
<file name="igbinary_033.phpt" role="test" />
<file name="igbinary_034.phpt" role="test" />
<file name="igbinary_040.phpt" role="test" />
<file name="igbinary_041.phpt" role="test" />
<file name="igbinary_043.phpt" role="test" />
<file name="igbinary_044.phpt" role="test" />
<file name="igbinary_045b.phpt" role="test" />
<file name="igbinary_045c.phpt" role="test" />
<file name="igbinary_046.phpt" role="test" />
<file name="igbinary_046b.phpt" role="test" />
<file name="igbinary_046c.phpt" role="test" />
<file name="igbinary_046d.phpt" role="test" />
<file name="igbinary_047.phpt" role="test" />
<file name="igbinary_048.phpt" role="test" />
<file name="igbinary_048b.phpt" role="test" />
<file name="igbinary_049.phpt" role="test" />
<file name="igbinary_049b.phpt" role="test" />
<file name="igbinary_050.phpt" role="test" />
<file name="igbinary_051.phpt" role="test" />
<file name="igbinary_052.phpt" role="test" />
<file name="igbinary_053.phpt" role="test" />
<file name="igbinary_054.phpt" role="test" />
<file name="igbinary_055.phpt" role="test" />
<file name="igbinary_057.phpt" role="test" />
<file name="igbinary_058.phpt" role="test" />
<file name="igbinary_058b.phpt" role="test" />
<file name="igbinary_059.phpt" role="test" />
<file name="igbinary_060.phpt" role="test" />
<file name="igbinary_061.phpt" role="test" />
<file name="igbinary_062.phpt" role="test" />
<file name="igbinary_063_php7.phpt" role="test" />
<file name="igbinary_063_php72.phpt" role="test" />
<file name="igbinary_064.phpt" role="test" />
<file name="igbinary_065.phpt" role="test" />
<file name="igbinary_066.phpt" role="test" />
<file name="igbinary_067.phpt" role="test" />
<file name="igbinary_068.phpt" role="test" />
<file name="igbinary_069.phpt" role="test" />
<file name="igbinary_070.phpt" role="test" />
<file name="igbinary_071.phpt" role="test" />
<file name="igbinary_071_php8.phpt" role="test" />
<file name="igbinary_072.phpt" role="test" />
<file name="igbinary_073.phpt" role="test" />
<file name="igbinary_074.phpt" role="test" />
<file name="igbinary_075.phpt" role="test" />
<file name="igbinary_076.phpt" role="test" />
<file name="igbinary_077.phpt" role="test" />
<file name="igbinary_078.phpt" role="test" />
<file name="igbinary_079.phpt" role="test" />
<file name="igbinary_080.phpt" role="test" />
<file name="igbinary_081.phpt" role="test" />
<file name="igbinary_082.phpt" role="test" />
<file name="igbinary_082_php74.phpt" role="test" />
<file name="igbinary_083.phpt" role="test" />
<file name="igbinary_084.phpt" role="test" />
<file name="igbinary_084b.phpt" role="test" />
<file name="igbinary_085.phpt" role="test" />
<file name="igbinary_086.phpt" role="test" />
<file name="igbinary_087.phpt" role="test" />
<file name="igbinary_088.phpt" role="test" />
<file name="igbinary_089.phpt" role="test" />
<file name="igbinary_089_32bit.phpt" role="test" />
<file name="igbinary_090.phpt" role="test" />
<file name="igbinary_091.phpt" role="test" />
<file name="igbinary_092.phpt" role="test" />
<file name="igbinary_093.phpt" role="test" />
<file name="igbinary_094.phpt" role="test" />
<file name="igbinary_095.phpt" role="test" />
<file name="igbinary_096.phpt" role="test" />
<file name="igbinary_097.phpt" role="test" />
<file name="igbinary_098.phpt" role="test" />
<file name="igbinary_099.phpt" role="test" />
<file name="igbinary_bug54662.phpt" role="test" />
<file name="igbinary_bug72134.phpt" role="test" />
<file name="igbinary_enums_1.phpt" role="test" />
<file name="igbinary_enums_2.phpt" role="test" />
<file name="igbinary_enums_3.phpt" role="test" />
<file name="igbinary_enums_3_php83.phpt" role="test" />
<file name="igbinary_unserialize_v1_compatible.phpt" role="test" />
<file name="php82_suppress_dynamic_properties_warning.inc" role="test" />
<file name="sleep_mangled_name_clash.phpt" role="test" />
<file name="typed_property_ref_assignment_failure.phpt" role="test" />
<file name="typed_property_ref_overwrite.phpt" role="test" />
<file name="typed_property_ref_overwrite2.phpt" role="test" />
<file name="typed_property_refs.phpt" role="test" />
<file name="typed_property_refs_php74.phpt" role="test" />
</dir>
</dir>
</contents>
<dependencies>
<required>
<php>
<min>7.0.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>igbinary</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2023-02-26</date>
<time>16:00:00</time>
<version>
<release>3.2.14</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix build error in PHP 8.3-dev
* Fix test expectation errors in php 8.3-dev due to change to php's TypeErrors.
</notes>
</release>
<release>
<date>2023-02-02</date>
<time>16:00:00</time>
<version>
<release>3.2.13</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Speed up unserialization of typed properties by reducing hash table collisions when looking up property reference info.
</notes>
</release>
<release>
<date>2022-11-07</date>
<time>16:00:00</time>
<version>
<release>3.2.12</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix symbol error seen in php 8.2.0 loading zend_class_unserialize_deny, due to failing to load a header defining a macro.
</notes>
</release>
<release>
<date>2022-11-06</date>
<time>16:00:00</time>
<version>
<release>3.2.11</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix a bug that could prevent objects/arrays with reference cycles from being properly garbage collected.
* Fix bugs in unserializing PHP references to values found in php 7.4 typed properties (#363)
</notes>
</release>
<release>
<date>2022-11-06</date>
<time>16:00:00</time>
<version>
<release>3.2.10</release>
<api>1.4.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Add a macro that callers can use to check if igbinary will accept the header for data being unserialized.
* Fix bug preventing the unserialization of data containing representations of strings larger than 4GB.
</notes>
</release>
<release>
<date>2022-10-17</date>
<time>16:00:00</time>
<version>
<release>3.2.9</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix invalid release artifact name in job to build dlls for https://github.com/igbinary/igbinary
</notes>
</release>
<release>
<date>2022-10-16</date>
<time>16:00:00</time>
<version>
<release>3.2.8</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Reduce excessive inlining to reduce shared library size.
* Miscellaneous optimizations.
* Update test expectations to handle changes to var_export output (fully qualified class names) in PHP 8.2.
* Throw an Error when igbinary_unserialize would add dynamic properties to class definitions that forbid them in PHP 8.0+
(especially PHP 8.2 `readonly` classes)
* Emit a deprecation notice when igbinary_unserialize() adds dynamic properties to a class without `#[AllowDynamicProperties]` in PHP 8.2.
Doing that would become an Error in PHP 9.0.
* Set up CI job to build dlls on https://github.com/igbinary/igbinary - at the moment, the infrastructure used by the Windows for php team has been broken for months.
</notes>
</release>
<release>
<date>2021-08-11</date>
<time>16:00:00</time>
<version>
<release>3.2.7</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Update test expectations for php 8.2.0-dev. Add `#[AllowDynamicProperties]` Attribute to some tests to avoid notices.
* In php 8.1+, make igbinary_unserialize check to see if an equivalent interned string already exists when unserializing object property names, array keys, and class names
and use that instead of creating a brand new string.
(This deliberately doesn't create a new interned string if one doesn't already exist.)
(Before this change, igbinary would deduplicate strings when serializing, but would not check if strings were interned by PHP itself when unserializing)
* Avoid debug build assertion failure for `HT_ASSERT_RC1` the same way as PHP's unserialize - this is a case where ostensibly there are no other references to the array being unserialized.
</notes>
</release>
<release>
<date>2021-08-11</date>
<time>16:00:00</time>
<version>
<release>3.2.6</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix igbinary extension version found in reflection.
</notes>
</release>
<release>
<date>2021-08-07</date>
<time>16:00:00</time>
<version>
<release>3.2.5</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix change in behavior introduced in 3.2.2RC1 when unserializing arrays - the internal array pointer (for `next()`, `key()`, etc) pointed past the end of the array in php 7.0-7.2.
</notes>
</release>
<release>
<date>2021-07-24</date>
<time>16:00:00</time>
<version>
<release>3.2.4</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Forbid serializing classes that deny serialization/unserialization (anonymous classes, CURLFile, etc.) even when subclasses implement '__serialize' and '__unserialize'
</notes>
</release>
<release>
<date>2021-06-09</date>
<time>16:00:00</time>
<version>
<release>3.2.3</release>
<api>1.3.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix build for php 8.1 after changes to enum internals.
* Update tests to suppress deprecations in php 8.1 and support run-tests.php changes in php 8.1
* Don't emit a notice when unserialize_callback_func causes igbinary_unserialize to throw https://bugs.php.net/bug.php?id=81118
</notes>
</release>
<release>
<date>2021-04-18</date>
<time>16:00:00</time>
<version>
<release>3.2.2</release>
<api>1.3.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Eliminate impossible/redundant checks.
* Add a new type code for serialization and unserialization of PHP strings that are larger than 4GB.
* Add additional checks for overflow when serializing extremely large data structures.
(e.g. serializing more than 2**32 strings or 2**32 objects/references/arrays)
* Support serializing and unserializing php 8.1 enums (can only be unserialized in php 8.1+)
</notes>
</release>
<release>
<date>2021-01-11</date>
<time>16:00:00</time>
<version>
<release>3.2.2RC1</release>
<api>1.2.5</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Update php version check to allow igbinary to be statically built in PHP 8.0+
* Fix bug in out of memory error handling in __sleep, slightly speed up serializing with __sleep.
* Continue serializing remaining properties if a missing property name is returned from __sleep.
* Speed up serializing by optimizing for the case where there is no memory manager override.
When there is a memory manager override, only use that for allocating the string to return.
(benchmarks/serialize-scalar-int.b.php showed a speedup from 0.22 to 0.18 seconds for repeated serialization of a single scalar,
and from 0.186 to 0.180 seconds for benchmarks/serialize-stringarray.b.php for an array of strings)
* Speed up unserializing arrays in php 7.2-8.0 by adding optimized code for finding the hash bucket of
a string/integer key of an array, or creating a placeholder if it does not already exist.
</notes>
</release>
<release>
<date>2020-12-27</date>
<time>16:00:00</time>
<version>
<release>3.2.1</release>
<api>1.2.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix crash when unserializing if __serialize was defined but __unserialize was undefined in php 8.0+ (due to typo).
</notes>
</release>
<release>
<date>2020-12-26</date>
<time>16:00:00</time>
<version>
<release>3.2.0</release>
<api>1.2.5</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Use PHP's shared empty array instance when unserializing empty arrays in php 7.3+.
(helps slightly with memory usage when repeatedly unserializing,
when removing elements from arrays before unserializing them,
or when serializing values including an empty array that was unserialized)
* Emit a deprecation notice when serializing resources.
PHP itself is converting many resources to objects that throw an Error on serialization attempts.
Continue to represent resources as null in the serialized data.
* Fix memory management bug when unserializing invalid data (duplicate properties in objects (e.g. from `__sleep`) or duplicate fields in arrays (impossible for valid data)).
* Speed up calls to `__serialize`/`__unserialize` in php 8.0+.
* Fix error messages for unserialize_callback_func: make messages properly refer to the autoload function.
* Optimize unserializing alternative names for private/protected properties that were previously public.
</notes>
</release>
<release>
<date>2020-10-08</date>
<time>16:00:00</time>
<version>
<release>3.1.6</release>
<api>1.2.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix build failure with older C standard (e.g. building on CentOS 6).
* Otherwise, identical to 3.1.6RC1.
</notes>
</release>
<release>
<date>2020-10-07</date>
<time>16:00:00</time>
<version>
<release>3.1.6RC1</release>
<api>1.2.4</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix igbinary_serialize incorrectly deduplicating arrays/objects/references when they were garbage collected/freed during serialization.
</notes>
</release>
<release>
<date>2020-09-02</date>
<time>16:00:00</time>
<version>
<release>3.1.5</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Update unit test expectation to match behavior in php 8 due to changes in php's handling of cyclic references in arrays.
* Support API changes in php 8.0.0beta3.
</notes>
</release>
<release>
<date>2020-08-05</date>
<time>16:00:00</time>
<version>
<release>3.1.4</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix unserialization of PHP references to internal/user-defined classes using PHP 7.4's `__unserialize` (e.g. `ArrayObject`)
</notes>
</release>
<release>
<date>2020-08-04</date>
<time>16:00:00</time>
<version>
<release>3.1.3</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Properly serialize reference groups of size 1 (these can be created by array_walk_recursive and other functions).
Note that this does not fix the general case where values not being serialized are in the same reference group as a value being serialized.
* PHP 8.0 compatibility fixes.
</notes>
</release>
<release>
<date>2020-01-21</date>
<time>16:00:00</time>
<version>
<release>3.1.2</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Speed up object, array, reference, and string serialization.
* Speed up unserializing integers between 0 and 65535 (as values and array keys).
* Speed up unserializing objects with declared properties.
</notes>
</release>
<release>
<date>2020-01-16</date>
<time>16:00:00</time>
<version>
<release>3.1.1</release>
<api>1.2.3</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix bug causing incorrect serialization for 1 in 2**32 strings on 64-bit php installations when string hashes collide.
(https://github.com/igbinary/igbinary/issues/260)
</notes>
</release>
<release>
<date>2021-01-11</date>
<time>16:00:00</time>
<version>
<release>3.1.1a1</release>
<api>1.2.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Throw when an uninitialized php 7.4 typed property is included in the result of __sleep(),
instead of emitting a notice and attempting to represent the unset/uninitialized value as null (#258).
See https://bugs.php.net/bug.php?id=79002
Uninitialized properties without types (from __sleep) continue to cause igbinary to emit notices and are represented as null.
</notes>
</release>
<release>
<date>2019-12-27</date>
<time>16:00:00</time>
<version>
<release>3.1.0</release>
<api>1.2.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Same as 3.1.0b4.
</notes>
</release>
<release>
<date>2019-12-20</date>
<time>16:00:00</time>
<version>
<release>3.1.0b4</release>
<api>1.2.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Don't call __destruct for objects where deferred __unserialize calls were not started (e.g. due to Serializable::unserialize throwing).
</notes>
</release>
<release>
<date>2019-12-10</date>
<time>16:00:00</time>
<version>
<release>3.1.0b3</release>
<api>1.2.2</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Skip over object properties that are uninitialized or unset when serializing, instead of serializing them as null.
This is done to avoid Errors when unserializing their values for php 7.4 typed properties.
</notes>
</release>
<release>
<date>2019-12-09</date>
<time>16:00:00</time>
<version>
<release>3.1.0b2</release>
<api>1.2.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix crashes related to unserializing instances of classes with php 7.4 typed properties.
</notes>
</release>
<release>
<date>2019-12-08</date>
<time>16:00:00</time>
<version>
<release>3.1.0b1</release>
<api>1.2.1</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Support php 7.4's __serialize/__unserialize the same way serialize()/unserialize() does.
This deliberately only supports __serialize/__unserialize in php 7.4, to making switching to/from serialize()/unserialize() as straightforward as possible.
</notes>
</release>
<release>
<date>2019-03-20</date>
<time>16:00:00</time>
<version>
<release>3.0.1</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix version check when statically building igbinary inside of the php-src folder.
</notes>
</release>
<release>
<date>2019-02-17</date>
<time>16:00:00</time>
<version>
<release>3.0.0</release>
<api>1.2.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Identical to 3.0.0a2
</notes>
</release>
<release>
<date>2019-02-13</date>
<time>16:00:00</time>
<version>
<release>3.0.0a2</release>
<api>1.2.0</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Don't use empty string for serializing empty $_SESSION array, it breaks some save handlers. (Issue #231)
Continue treating the empty string as the empty $_SESSION array when unserializing.
</notes>
</release>
<release>
<date>2019-02-09</date>
<time>16:00:00</time>
<version>
<release>3.0.0a1</release>
<api>1.2.0</api>
</version>
<stability>
<release>alpha</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Drop support for PHP 5.
* Drop support for APC (APC was only available for PHP5 - It is the predecessor of APCu)
* Emit a warning and return null if igbinary_unserialize() is passed more data to unserialize than expected.
* Fix compilation against PHP 7.4-dev. Igbinary does NOT yet properly serialize/unserialize all classes with PHP 7.4-dev's typed properties.
* The serialization format is exactly the same as igbinary 2.x
</notes>
</release>
<release>
<date>2018-10-20</date>
<time>16:00:00</time>
<version>
<release>2.0.8</release>
<api>1.1.2</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Be more aggressive about deduplication when generating serialization of arrays in php 7.0+.
* Define HAVE_IGBINARY on Unix/Linux. (previously defined only on Windows)
* Update formatting/wording of documentation.
</notes>
</release>
<release>
<date>2018-06-27</date>
<time>16:00:00</time>
<version>
<release>2.0.7</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fix compiler warnings about format strings, for errors that should not occur during normal igbinary usage.
</notes>
</release>
<release>
<date>2018-05-12</date>
<time>16:00:00</time>
<version>
<release>2.0.6</release>
<api>1.1.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Same as 2.0.6RC1
</notes>
</release>
<release>
<date>2018-04-01</date>
<time>16:00:00</time>
<version>
<release>2.0.6RC1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Same as 2.0.6RC1
* Fix a bug in Windows debug builds.
* Emit more specific warnings when __sleep() returns a declared property that was unset.
* Fix harmless compiler warnings during builds.
* Fix a build error on PHP7.3-dev.
</notes>
</release>
<release>
<date>2017-11-04</date>
<time>16:00:00</time>
<version>
<release>2.0.5</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Same as 2.0.5RC1 (no bugs were reported in that release candidate)
</notes>
</release>
<release>
<date>2017-10-15</date>
<time>16:00:00</time>
<version>
<release>2.0.5RC1</release>
<api>1.1.1</api>
</version>
<stability>
<release>beta</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Improve performance when unserializing objects/arrays and serializing objects/arrays/strings in php 5/7.
* Update unserialization of integer object keys for php 7.2: Make those keys accessible when unserializing.
* Properly pick up presence of gcc for default compiler flags (`cc --version` doesn't contain gcc).
Add -O2 to default gcc compiler flags.
* Use empty string for serializing empty $_SESSION array, similar to "session.serialize_handler=php".
Older igbinary releases already unserialize the empty string to the empty array.
</notes>
</release>
<release>
<date>2017-04-14</date>
<time>16:00:00</time>
<version>
<release>2.0.4</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
* Fixes bug #129: Should not call __wakeup() on data which was created by Serializable::unserialize()
</notes>
</release>
<release>
<date>2017-03-31</date>
<time>16:00:00</time>
<version>
<release>2.0.3</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
- Fixes bug #126: Fatal error: "igbinary_serialize_zval: zval has unknown type 0" (IS_UNDEF)
Make this a warning instead of a fatal error (and serialize as null instead), since IS_UNDEF is a known type.
Later releases will fix the root cause of the warning, and consistently omit array/object/other entries for IS_UNDEF.
</notes>
</release>
<release>
<date>2017-02-28</date>
<time>16:00:00</time>
<version>
<release>2.0.2</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>
- Compatible with PHP 5.2 - 7.1
- Fixes crash in Memcached->setMulti (in php 7.0+) when the first level of array elements have references as values.
Other extensions using igbinary shouldn't be affected.
</notes>
</release>
<release>
<date>2016-11-19</date>
<time>16:00:00</time>
<version>
<release>2.0.1</release>
<api>1.1.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="https://github.com/igbinary/igbinary/blob/master/COPYING">BSD-3-Clause</license>
<notes>