forked from zenovich/runkit
-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.xml
1166 lines (1132 loc) · 50.4 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.4.9" 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>runkit7</name>
<channel>pecl.php.net</channel>
<summary>Runkit7 : For all those things you.... probably shouldn't have been doing anyway.... but surely do!</summary>
<description>Replace, rename, and remove user defined functions, methods, and constants.
Define customized superglobal variables for general purpose use.
</description>
<lead>
<name>Tyson Andre</name>
<user>tandre</user>
<email>tandre@php.net</email>
<active>yes</active>
</lead>
<date>2022-08-14</date>
<version>
<release>4.0.0a6</release>
<api>4.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix test failures for manipulating ReflectionMethod instances in 32-bit i386 builds in php 8.2+.
</notes>
<contents>
<dir name="/">
<!-- Generated by: ls tests|grep -E '(phpt|inc)$'|LC_ALL=en_US sort|sed 's,.*, <file name="\0" role="test" />,' -->
<dir name="tests">
<file name="_fcgi.inc" role="test" />
<file name="_fpm_include.inc" role="test" />
<file name="_fpm_skipif.inc" role="test" />
<file name="bug10053.phpt" role="test" />
<file name="bug10300.phpt" role="test" />
<file name="bug56662.phpt" role="test" />
<file name="bug56976.phpt" role="test" />
<file name="bug57249.inc" role="test" />
<file name="bug57649.inc" role="test" />
<file name="bug57658.phpt" role="test" />
<file name="namespaces.phpt" role="test" />
<file name="runkit_add_magic_methods.phpt" role="test" />
<file name="runkit_add_magic_serialize_method_ignored_for_common_classes.phpt" role="test" />
<file name="runkit_add_old_style_ctor.phpt" role="test" />
<file name="runkit_add_old_style_ctor1.phpt" role="test" />
<file name="runkit_add_old_style_ctor_by_adopting.phpt" role="test" />
<file name="runkit_add_old_style_ctor_by_copying.phpt" role="test" />
<file name="runkit_adopt_emancipate_and_inheritance.phpt" role="test" />
<file name="runkit_and_superglobals.phpt" role="test" />
<file name="runkit_arginfo.phpt" role="test" />
<file name="runkit_class_adopt.phpt" role="test" />
<file name="runkit_class_adopt_and_properties.phpt" role="test" />
<file name="runkit_class_emancipate.phpt" role="test" />
<file name="runkit_class_emancipate_and_reflection.phpt" role="test" />
<file name="runkit_constant_add.phpt" role="test" />
<file name="runkit_constant_add_array.phpt" role="test" />
<file name="runkit_constant_add_array_alias.phpt" role="test" />
<file name="runkit_constant_add_array_to_class.phpt" role="test" />
<file name="runkit_constant_add_object_php81.phpt" role="test" />
<file name="runkit_constant_add_protected.phpt" role="test" />
<file name="runkit_constant_add_protected_alias.phpt" role="test" />
<file name="runkit_constant_add_to_class.phpt" role="test" />
<file name="runkit_constant_redefine.phpt" role="test" />
<file name="runkit_constant_redefine_in_class.phpt" role="test" />
<file name="runkit_constant_redefine_protected_across_file.inc" role="test" />
<file name="runkit_constant_redefine_protected_across_file.phpt" role="test" />
<file name="runkit_constant_remove.phpt" role="test" />
<file name="runkit_constant_remove_from_class.phpt" role="test" />
<file name="runkit_constant_remove_from_class_without_inlining.phpt" role="test" />
<file name="runkit_constant_remove_from_ns.phpt" role="test" />
<file name="runkit_constants_manipulations_and_cache.phpt" role="test" />
<file name="runkit_default_property_add.phpt" role="test" />
<file name="runkit_default_property_add_and_remove_for_class_with_dynamic_properties.phpt" role="test" />
<file name="runkit_default_property_add_and_remove_for_class_with_dynamic_properties_overriding_in_objects.phpt" role="test" />
<file name="runkit_default_property_add_instance.phpt" role="test" />
<file name="runkit_default_property_add_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_add_to_subclasses.phpt" role="test" />
<file name="runkit_default_property_add_to_subclasses_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove.phpt" role="test" />
<file name="runkit_default_property_remove_and_add_for_class_with_dynamic_properties.phpt" role="test" />
<file name="runkit_default_property_remove_and_add_for_class_with_dynamic_properties_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_and_reflection.phpt" role="test" />
<file name="runkit_default_property_remove_from_subclasses.phpt" role="test" />
<file name="runkit_default_property_remove_from_subclasses_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_inheritance.phpt" role="test" />
<file name="runkit_default_property_remove_inheritance_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_private_and_inheritance.phpt" role="test" />
<file name="runkit_default_property_remove_private_and_inheritance_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_private_shadow_and_inheritance.phpt" role="test" />
<file name="runkit_default_property_remove_private_shadow_and_inheritance54.phpt" role="test" />
<file name="runkit_default_property_remove_private_shadow_and_inheritance_overriding_objects.phpt" role="test" />
<file name="runkit_default_property_remove_simple.phpt" role="test" />
<file name="runkit_finally.phpt" role="test" />
<file name="runkit_fpm_internal_function_restore.phpt" role="test" />
<file name="runkit_function_add.phpt" role="test" />
<file name="runkit_function_add_alias.phpt" role="test" />
<file name="runkit_function_add_and_doc_comment.phpt" role="test" />
<file name="runkit_function_add_closure.phpt" role="test" />
<file name="runkit_function_add_closure_and_doc_comment.phpt" role="test" />
<file name="runkit_function_add_closure_and_doc_comment_from_closure.phpt" role="test" />
<file name="runkit_function_add_return_type.phpt" role="test" />
<file name="runkit_function_add_return_type_invalid.phpt" role="test" />
<file name="runkit_function_copy.phpt" role="test" />
<file name="runkit_function_copy_8.phpt" role="test" />
<file name="runkit_function_copy_alias.phpt" role="test" />
<file name="runkit_function_redefine.phpt" role="test" />
<file name="runkit_function_redefine_alias.phpt" role="test" />
<file name="runkit_function_redefine_and_doc_comment.phpt" role="test" />
<file name="runkit_function_redefine_and_reflection.phpt" role="test" />
<file name="runkit_function_redefine_and_revert.phpt" role="test" />
<file name="runkit_function_redefine_and_revert_closure.phpt" role="test" />
<file name="runkit_function_redefine_closure_and_doc_comment.phpt" role="test" />
<file name="runkit_function_redefine_closure_and_doc_comment_from_closure.phpt" role="test" />
<file name="runkit_function_redefine_closure_static.phpt" role="test" />
<file name="runkit_function_redefine_from_anonymous.phpt" role="test" />
<file name="runkit_function_redefine_using_undef.phpt" role="test" />
<file name="runkit_function_redefine_var_dump.phpt" role="test" />
<file name="runkit_function_remove.phpt" role="test" />
<file name="runkit_function_remove_alias.phpt" role="test" />
<file name="runkit_function_remove_and_reflection.phpt" role="test" />
<file name="runkit_function_remove_and_reflection_parameter.phpt" role="test" />
<file name="runkit_function_rename.phpt" role="test" />
<file name="runkit_function_rename_alias.phpt" role="test" />
<file name="runkit_function_rename_and_reflection.phpt" role="test" />
<file name="runkit_function_rename_corruption.phpt" role="test" />
<file name="runkit_function_rename_corruption2.phpt" role="test" />
<file name="runkit_function_rename_internal.phpt" role="test" />
<file name="runkit_function_rename_large_switch.phpt" role="test" />
<file name="runkit_function_rename_redefine_add_remove.phpt" role="test" />
<file name="runkit_function_variadic.phpt" role="test" />
<file name="runkit_function_variadic_strict.phpt" role="test" />
<file name="runkit_function_variadic_typed.phpt" role="test" />
<file name="runkit_functions_returning_by_reference.phpt" role="test" />
<file name="runkit_method_add.phpt" role="test" />
<file name="runkit_method_add_7_php8.phpt" role="test" />
<file name="runkit_method_add_alias.phpt" role="test" />
<file name="runkit_method_add_and_doc_comment.phpt" role="test" />
<file name="runkit_method_add_closure.phpt" role="test" />
<file name="runkit_method_add_closure2.phpt" role="test" />
<file name="runkit_method_add_closure_and_doc_comment.phpt" role="test" />
<file name="runkit_method_add_closure_and_doc_comment_from_closure.phpt" role="test" />
<file name="runkit_method_add_closure_and_flags.phpt" role="test" />
<file name="runkit_method_add_closure_php80.phpt" role="test" />
<file name="runkit_method_add_overriding_parent_method.phpt" role="test" />
<file name="runkit_method_add_php73_bug.phpt" role="test" />
<file name="runkit_method_add_return_type.phpt" role="test" />
<file name="runkit_method_add_return_type_invalid.phpt" role="test" />
<file name="runkit_method_copy.phpt" role="test" />
<file name="runkit_method_copy_alias.phpt" role="test" />
<file name="runkit_method_copy_and_doc_comment.phpt" role="test" />
<file name="runkit_method_copy_and_doc_comment_leak.phpt" role="test" />
<file name="runkit_method_copy_uninit_read.phpt" role="test" />
<file name="runkit_method_redefine.phpt" role="test" />
<file name="runkit_method_redefine_alias.phpt" role="test" />
<file name="runkit_method_redefine_and_doc_comment.phpt" role="test" />
<file name="runkit_method_redefine_and_reflection.phpt" role="test" />
<file name="runkit_method_redefine_and_reflection_with_inheritance.phpt" role="test" />
<file name="runkit_method_redefine_closure_and_doc_comment.phpt" role="test" />
<file name="runkit_method_redefine_closure_and_doc_comment_from_closure.phpt" role="test" />
<file name="runkit_method_redefine_protected.phpt" role="test" />
<file name="runkit_method_redefine_update_proto.phpt" role="test" />
<file name="runkit_method_redefine_update_proto2.phpt" role="test" />
<file name="runkit_method_redefine_with_static_vars.phpt" role="test" />
<file name="runkit_method_remove.phpt" role="test" />
<file name="runkit_method_remove_alias.phpt" role="test" />
<file name="runkit_method_remove_and_reflection.phpt" role="test" />
<file name="runkit_method_remove_and_reflection_parameter.phpt" role="test" />
<file name="runkit_method_remove_and_reflection_parameter_with_inheritance.phpt" role="test" />
<file name="runkit_method_remove_and_reflection_with_inheritance.phpt" role="test" />
<file name="runkit_method_remove_static.phpt" role="test" />
<file name="runkit_method_rename.phpt" role="test" />
<file name="runkit_method_rename_002.phpt" role="test" />
<file name="runkit_method_rename_alias.phpt" role="test" />
<file name="runkit_method_rename_and_access.phpt" role="test" />
<file name="runkit_method_rename_and_reflection.phpt" role="test" />
<file name="runkit_method_rename_inheritance.phpt" role="test" />
<file name="runkit_method_rename_repeated.phpt" role="test" />
<file name="runkit_method_rename_static.phpt" role="test" />
<file name="runkit_method_variadic.phpt" role="test" />
<file name="runkit_method_variadic_strict.phpt" role="test" />
<file name="runkit_method_variadic_typed.phpt" role="test" />
<file name="runkit_methods_redefining_and_cache.inc" role="test" />
<file name="runkit_methods_returning_by_reference.phpt" role="test" />
<file name="runkit_redefine_old_style_ctor.phpt" role="test" />
<file name="runkit_redefine_old_style_ctor_php8.phpt" role="test" />
<file name="runkit_remove_magic_call_method.phpt" role="test" />
<file name="runkit_remove_magic_callstatic_method.phpt" role="test" />
<file name="runkit_remove_magic_serialize_method.phpt" role="test" />
<file name="runkit_remove_magic_tostring_method.phpt" role="test" />
<file name="runkit_remove_magic_tostring_method_php74.phpt" role="test" />
<file name="runkit_remove_magic_tostring_method_php80.phpt" role="test" />
<file name="runkit_remove_magic_unserialize_method.phpt" role="test" />
<file name="runkit_static_property_add.phpt" role="test" />
<file name="runkit_static_property_add_existing.phpt" role="test" />
<file name="runkit_static_property_add_single.phpt" role="test" />
<file name="runkit_static_property_add_to_subclasses.phpt" role="test" />
<file name="runkit_static_vars.phpt" role="test" />
<file name="runkit_static_vars_php81.phpt" role="test" />
<file name="runkit_superglobals.phpt" role="test" />
<file name="runkit_superglobals_obj.phpt" role="test" />
<file name="runkit_superglobals_obj_alias.phpt" role="test" />
<file name="runkit_superglobals_obj_alias_php81.phpt" role="test" />
<file name="runkit_superglobals_obj_php81.phpt" role="test" />
<file name="runkit_user_functions_on_shutdown.phpt" role="test" />
<file name="runkit_zval_inspect.phpt" role="test" />
<file name="runkit_zval_inspect_alias.phpt" role="test" />
</dir> <!-- //tests -->
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="Makefile.frag" role="src" />
<file name="runkit.h" role="src" />
<file name="runkit7.stub.php" role="src" />
<file name="runkit7_arginfo.h" role="src" />
<file name="php_runkit7.h" role="src" />
<file name="php_runkit_hash.h" role="src" />
<file name="php_runkit_zend_execute_API.h" role="src" />
<file name="php_runkit_zval.h" role="src" />
<file name="LICENSE" role="doc" />
<file name="LICENSE.ZEND" role="doc" />
<file name="PROPERTY_MANIPULATION.md" role="doc" />
<file name="README.md" role="doc" />
<file name="UPGRADING_TO_3.md" role="doc" />
<file name="runkit.c" role="src" />
<file name="runkit_classes.c" role="src" />
<file name="runkit_common.c" role="src" />
<file name="runkit_constants.c" role="src" />
<file name="runkit_functions.c" role="src" />
<file name="runkit_methods.c" role="src" />
<file name="runkit_props.c" role="src" />
<file name="runkit_zend_execute_API.c" role="src" />
</dir> <!-- / -->
</contents>
<dependencies>
<required>
<php>
<min>7.2.0</min>
</php>
<pearinstaller>
<min>1.4.0b1</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>runkit7</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2022-08-13</date>
<version>
<release>4.0.0a5</release>
<api>4.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Make version of runkit7 in reflection match PECL version.
</notes>
</release>
<release>
<date>2021-07-17</date>
<version>
<release>4.0.0a4</release>
<api>4.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix build errors and crash freeing static variables of created functions/methods in php 8.2.0-alpha1-dev
- Fix handling of removed global functions in php 8.2.0beta1.
NOTE: This will cause undefined function Errors thrown by php to use the case of the function call in php 8.2+ instead of being lowercase.
</notes>
</release>
<release>
<date>2021-07-17</date>
<version>
<release>4.0.0a3</release>
<api>4.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix edge case copying internal functions in runkit7_function_redefine
- Avoid conflicts with other extensions that use reserved memory slots for internal function definitions.
- Fix compilation and test errors in php 8.1
- Allow using objects in global constants and class constants in php 8.1+ (https://wiki.php.net/rfc/new_in_initializers)
- Make runkit_constant_redefine fail if the constant does not already exist
- Make runkit_constant_remove/redefine fail on enum cases (support for modifying enum cases is not implemented)
</notes>
</release>
<release>
<date>2020-10-08</date>
<version>
<release>4.0.0a2</release>
<api>4.0.1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix build failure in PECL releases due to missing files in the 4.0.0a1 archive.
- Properly reference count references to file names in php 8.0 when copying functions
</notes>
</release>
<release>
<date>2020-10-08</date>
<version>
<release>4.0.0a1</release>
<api>4.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Remove `runkit7_import()`. This had known crashes/segfaults in php 7.3+ that have not been straightforward to fix (after multiple attempts)
due to changes to PHP's internals and changes to late static binding, and offered an incomplete set of functionality.
(e.g. could not override properties)
This was also not integrated with runkit7's tracking of manipulated methods/functions/properties.
- Drop support for php 7.1. Security support for php 7.1 from php-src ended in December 2019
and runkit7 requires a lot of work to verify that changes or new features work correctly with the internals of php in all PHP versions.
- Remove disabled code, constants, and ini settings related to the sandbox feature.
Runkit7 has never supported sandboxes or runkit_lint due to changes to internals in php7 making it impractical.
- Remove runkit7_object_id() - PHP 7.2 adds spl_object_id() to do the same thing.
- Fix build failure in php 8.0-dev - this extension's support for php 8 is still incomplete and experimental.
- Add parameter default constant names to reflection (php 8 only).
</notes>
</release>
<release>
<date>2019-12-27</date>
<version>
<release>3.1.0a1</release>
<api>3.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Support php 7.4.
</notes>
</release>
<release>
<date>2019-06-15</date>
<version>
<release>3.0.0</release>
<api>3.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Runkit7 3.0 finishes changing this extension's name from "runkit" to "runkit7".
THIS WILL REQUIRE CHANGES TO YOUR BUILD SCRIPTS AND PHP.INI FILES.
This change was made at the request of PECL admins, to comply with naming and packaging standards.
- The compiled shared object name has been changed from `runkit.so` to `runkit7.so` (Mac/Linux) and `php_runkit.dll` to `php_runkit7.dll` (Windows)
(php.ini files should be changed to reference `extension=runkit7.so` or `extension=php_runkit7.dll`)
- The configure flag names have been changed from flags such as `--enable-runkit` / `--enable-runkit-modify` to `--enable-runkit7` / `--enable-runkit7-modify`
- Code using `extension_loaded('runkit')` should be changed to `extension_loaded('runkit7')` (as well as uses of ReflectionExtension, etc.)
- The ini options `runkit.superglobal` and `runkit.internal_override` are unaffected.
Changes in 3.0.0
- Update documentation
- Remove RUNKIT_VERSION
- It is now possible to disable superglobal support (--disable-runkit7-super was fixed)
- Classkit compatibility functions/constants have been removed.
</notes>
</release>
<release>
<date>2019-06-01</date>
<version>
<release>3.0.0RC1</release>
<api>3.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Runkit7 3.0 finishes changing this extension's name from "runkit" to "runkit7".
THIS WILL REQUIRE CHANGES TO YOUR BUILD SCRIPTS AND PHP.INI FILES.
This change was made at the request of PECL admins, to comply with naming and packaging standards.
- The compiled shared object name has been changed from `runkit.so` to `runkit7.so` (Mac/Linux) and `php_runkit.dll` to `php_runkit7.dll` (Windows)
(php.ini files should be changed to reference `extension=runkit7.so` or `extension=php_runkit7.dll`)
- The configure flag names have been changed from flags such as `--enable-runkit` / `--enable-runkit-modify` to `--enable-runkit7` / `--enable-runkit7-modify`
- Code using `extension_loaded('runkit')` should be changed to `extension_loaded('runkit7')` (as well as uses of ReflectionExtension, etc.)
- The ini options `runkit.superglobal` and `runkit.internal_override` are unaffected.
Changes in 3.0.0RC1
- Update documentation
- Remove RUNKIT_VERSION
</notes>
</release>
<release>
<date>2019-05-29</date>
<version>
<release>3.0.0a1</release>
<api>3.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Runkit7 3.0 finishes changing this extension's name from "runkit" to "runkit7".
THIS WILL REQUIRE CHANGES TO YOUR BUILD SCRIPTS AND PHP.INI FILES.
This change was made at the request of PECL admins, to comply with naming and packaging standards.
- The compiled shared object name has been changed from `runkit.so` to `runkit7.so` (Mac/Linux) and `php_runkit.dll` to `php_runkit7.dll` (Windows)
(php.ini files should be changed to reference `extension=runkit7.so` or `extension=php_runkit7.dll`)
- The configure flag names have been changed from flags such as `--enable-runkit` / `--enable-runkit-modify` to `--enable-runkit7` / `--enable-runkit7-modify`
- Code using `extension_loaded('runkit')` should be changed to `extension_loaded('runkit7')` (as well as uses of ReflectionExtension, etc.)
- The ini options `runkit.superglobal` and `runkit.internal_override` are unaffected.
Other changes:
- It is now possible to disable superglobal support (--disable-runkit7-super was fixed)
- Classkit compatibility functions/constants have been removed.
</notes>
</release>
<release>
<date>2019-05-29</date>
<version>
<release>2.1.0</release>
<api>2.1.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Add runkit7_*() aliases for runkit_*() global functions.
- Add RUNKIT7_* aliases for RUNKIT_* global constants.
</notes>
</release>
<release>
<date>2019-04-18</date>
<version>
<release>2.0.3</release>
<api>2.0.3</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Add missing Reflection parameter information of runkit_import().
- Remove php_runkit_sandbox.h from installed headers on Windows.
</notes>
</release>
<release>
<date>2019-04-04</date>
<version>
<release>2.0.2</release>
<api>2.0.2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix the package version seen in reflection APIs.
</notes>
</release>
<release>
<date>2019-04-02</date>
<version>
<release>2.0.1</release>
<api>2.0.1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Update extension name in package.xml.
- Update Windows configuration option descriptions.
- Check if php version id is 7.1 or newer in phpize.
</notes>
</release>
<release>
<date>2019-03-27</date>
<version>
<release>2.0.0</release>
<api>2.0.0</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Drop support for PHP 7.0
</notes>
</release>
<release>
<date>2019-03-24</date>
<version>
<release>1.0.11</release>
<api>1.0.11</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix memory corruption in function manipulation with 64-bit builds of php 7.3 (#173, #172)
- Fix compilation error in 32-bit php 7.3 builds.
</notes>
</release>
<release>
<date>2019-03-21</date>
<version>
<release>1.0.10</release>
<api>1.0.10</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix compilation when `--runkit-modify` is disabled.
- Fix compilation for PHP 7.3 with Windows x64.
</notes>
</release>
<release>
<date>2018-10-20</date>
<version>
<release>1.0.9</release>
<api>1.0.9</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix a crash caused some of the time when using runkit_function_rename to replace an original function with a different one.
- Fix a few compatibility issues with php 7.4.0-dev (new compatibility issues will come up in the future, and some tests fail)
</notes>
</release>
<release>
<date>2018-09-13</date>
<version>
<release>1.0.8</release>
<api>1.0.8</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Update documentation, fix typos in documentation and tests.
- Fix compilation errors in PHP 7.3 betas. Note that runkit_import() has bugs in PHP 7.3.
</notes>
</release>
<release>
<date>2018-07-04</date>
<version>
<release>1.0.7</release>
<api>1.0.7</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix crashes in `runkit_import()` seen in php 7.3 alphas.
</notes>
</release>
<release>
<date>2018-07-04</date>
<version>
<release>1.0.6</release>
<api>1.0.6</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix crashes seen in php 7.3 alphas when function and method manipulation is used. (https://github.com/runkit7/runkit7/issues/126, https://github.com/runkit7/runkit7/issues/141)
</notes>
</release>
<release>
<date>2018-07-04</date>
<version>
<release>1.0.5b3</release>
<api>1.0.5b3</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix incorrect reference counting of class names in parameter and return type signatures for `runkit_function_*()` and `runkit_method_*()` (https://github.com/runkit7/runkit7/issues/123).
This bug only affected php 7.2.0+
</notes>
</release>
<release>
<date>2018-07-03</date>
<version>
<release>1.0.5b2</release>
<api>1.0.5b2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
- Fix compilation errors in newer php versions.
- PHP 7.2+ continues to have some severe bugs for function/method manipulation
- Fix some unit tests
- runkit_lint and runkit_import continue to be broken (This release contains some work on trying to fix the compilation errors)
- Update CI test scripts
- Improve documentation
</notes>
</release>
<release>
<date>2017-06-18</date>
<version>
<release>1.0.5b1</release>
<api>1.0.5b1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Support specifying `?bool $is_strict` on added or redefined functions and methods.
If this is set to true, they will work as if they were declared in a file with `declare(strict_types=1);` at the top.
</notes>
</release>
<release>
<date>2017-06-10</date>
<version>
<release>1.0.5a5</release>
<api>1.0.5a5</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Support building with php 7.2.0alpha1 (It's possible builds may fail for new alphas of php 7.2, the binary API PHP provides is unstable.)
</notes>
</release>
<release>
<date>2017-04-06</date>
<version>
<release>1.0.5a4</release>
<api>1.0.5a4</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Bug Fixes
+ Fix bugs in reference counting variable names of runkit superglobals.
The bug may have caused crashes or erroneous undefined variable notices.
Only affects users if the `runkit.superglobal` ini setting is non-empty.
Mainly affects NTS builds.
</notes>
</release>
<release>
<date>2017-03-31</date>
<version>
<release>1.0.5a3</release>
<api>1.0.5a3</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
New Features
+ Allow preserving and manipulating visibility of class constants with runkit constant manipulation functions.
+ Update Reflection argument info for runkit functions
</notes>
</release>
<release>
<date>2017-02-28</date>
<version>
<release>1.0.5a2</release>
<api>1.0.5a2</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Fixes
+ Fixes invalid error message when printing an error message, in the case when syntactically invalid code strings for runkit_function_add, etc.
+ Fixes a crash on shutdown when overriding internal methods
+ Update documentation
</notes>
</release>
<release>
<date>2017-01-28</date>
<version>
<release>1.0.5a1</release>
<api>1.0.5a1</api>
</version>
<stability>
<release>alpha</release>
<api>alpha</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
Supported features:
+ Supports PHP 7.0 and PHP 7.1, tested on 64-bit and 32-bit builds (ZTS and non-ZTS)
- Removed support for PHP <= 5.x
+ Superglobals work reliably in php7.0 and 7.1
+ runkit_method_* and runkit_function_* have been ported. Manipulating built in functions (e.g. `var_dump` with `runkit.internal_override`) may cause segfaults or memory leaks.
+ Constant manipulation works, if the constant is declared in a different file from the file doing the accessing. Constants declared within the same file may be inlined by the PHP Zend VM.
+ See runkit-api.php for the supported APIs.
+ Allows using static::/self::/$this in runkit_method_add/redefine.
New features
+ Allow specifying the return type for runkit function and method manipulation. Supports optional return types in 7.1 (e.g. '?string')
Disabled features
+ runkit_default_property_* was disabled because of changes to the PHP Zend VM. Future releases may introduce `runkit_default_property_redefine`.
+ runkit sandbox and `runkit_lint*` were removed.
+ `runkit_class_emancipate` and `runkit_class_adopt` are disabled, because they depend on default property manipulation.
</notes>
</release>
<release>
<date>2015-09-25</date>
<version>
<release>1.0.4</release>
<api>1.0.4</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
New features:
+ PHP 5.4, 5.5, and 5.6 are now fully supported
- PHP 4.x is not supported anymore
+ Closures are now accepted by runkit_function_add, runkit_function_redefine, runkit_method_add, and runkit_method_redefine
This feature works in PHP 5.3 and above.
+ Introduced new function "runkit_default_property_remove" (Thanks to Juhan Kundla)
+ Ability to add non-scalar default properties was added
+ Magic methods __isset, __unset, __callStatic, serialize, unserialize, debugInfo and __toString are now supported.
+ Functions runkit_class_adopt & runkit_class_emancipate now change class-hierarchy (issue #13)
+ Adding and redefining functions and methods, which return references, were fully implemented
New optional argument 'return_ref' of functions runkit_function_add and runkit_function_redefine was introduced
New constant RUNKIT_ACC_RETURN_REFERENCE was introduced for use with functions runkit_method_add and runkit_method_redefine
+ Properties adding, removing, and importing were reworked for proper inheritance (including objects in PHP5+)
+ A new constant RUNKIT_OVERRIDE_OBJECTS was introduced. Use it by bitwise adding to the flags parameter
of functions runkit_default_property_add and runkit_import to add (and remove) properties of existing objects.
This feature works in PHP 5.x and above and it is switched off by default.
+ New (the third one) parameter remove_from_objects of boolean type was introduced
in runkit_default_property_remove function. Pass the TRUE value to remove property from existing objects.
This feature works in PHP 5.x and above. The default value for this parameter is FALSE.
+ Namespaces are fully supported by constants manipulation functions (Thanks to Antony Dovgal)
+ Allow disabling of allow_url_include in a Runkit_Sandbox (PHP >= 5.2) (Thanks to Sara Golemon)
+ New optional argument 'doc_comment' of functions runkit_method_add, runkit_method_redefine, runkit_function_add,
and runkit_function_redefine was introduced to specify doc_comments.
+ Preserve doc_comments on copying and redefining functions and methods.
Critical fixes:
* Highly probable crashes on using Reflection objects after modifying removing or renaming of functions, methods, and properties,
for which those Reflection objects have been instantiated, were eliminated
* Crash on sandbox creation when register_globals is switched on was fixed
* Building and working with PHP4 were fixed
* Crash on syntax error in source file importing with runkit_import was fixed
* The possible crash on manipulating constants having length less than two characters was eliminated
* Crash after using runkit_class_adopt when inherited methods access properties of the parent class (issue #59)
* Crash on calling renamed private/protected method (issue #64)
* Crash when copied function contains finally (issue #77) (Thanks to Antony Dovgal)
* Lists of directories in open_basedir sandbox setting are now supported
Fixes:
* All ways of adding and removing magic methods and old-style constructors
were reworked and corrected (Thanks to Anthony Dovgal for issues #35, #57, and #79).
* Side effect of redefining, adding and removing class constant (Issue #25) was eliminated
* Adding of non-lowercase default properties was fixed (removed lowercasing)
* Skip the leading slash in class names
* Copying, redefining, and renaming of functions were reworked
* Converting of input parameters (class names & function names) to lowercase was eliminated
* runkit_method_redefine function now sets the 'prototype' field for the method
and its descendants (Thanks to Anthony Dovgal)
* Freeing already freed memory on importing of a non-existent file was eliminated
* A test for correctness of runkit.superglobals feature was added
* Tests for correctness of inheritance of properties were added
* Tests for correctness of adding static properties were added
* Bug 57649 (https://bugs.php.net/bug.php?id=57649) has been fixed without apathy ;)
Thanks to Sara Golemon for tests.
* Importing class extending another class was fixed (Issue #48) (thanks to mido0258)
* User-defined functions should remain after Runkit's shutdown
(thanks to Sara Golemon for code and to https://github.com/cobrafast for test)
* Restoring of misplaced internal functions was corrected (issue #63)
* Delete temporary function on errors of adding/redefining methods
* runkit_method_add, runkit_method_copy, and runkit_method_rename now override derived methods (issue #62)
Build system improvements:
* PEAR Channel zenovich.github.io/pear was introduced for releasing new packages
* Declarations after statement were restricted during compiling
* Warnings now will be treated as errors
* All tests now succeed under Valgrind
* A compilation bug (with gcc 4.3+), caused by wrong definition of internal function,
was fixed (Thanks to Reeze Xia)
</notes>
</release>
<release>
<date>2012-01-02</date>
<version>
<release>1.0.3</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.opensource.org/licenses/BSD-3-Clause">BSD License (3 Clause)</license>
<notes>
License was changed to the BSD License (3 Clause)
Main bug-fixes:
* Building on windows-platform was fixed.
* The issue with inheritance of methods, which have been created by the runkit_method_rename function, was fixed.
* Fixed dumb bug in workarounds based on php-version.</notes>
</release>
<release>
<date>2010-10-05</date>
<version>
<release>1.0.2</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>Disappointing incompatibility issue with php 5.3+ in untested code was fixed.</notes>
</release>
<release>
<date>2010-10-03</date>
<version>
<release>1.0.1</release>
<api>1.0.1</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
New features:
+ The patch made by David Sklar was applied to support creation and changing of static methods.
The new user-level const "RUNKIT_ACC_STATIC" was introduced.
+ An ability to import static class properties was added.
The new user-level const "RUNKIT_IMPORT_CLASS_STATIC_PROPS" was introduced.
+ An ability to apply a closure to a sandbox in PHP 5.3+ by calling the call_user_func method was added.
Main bug-fixes:
* Fixes of issues with importing constant arrays into properties and constants
* Fixes of issues with importing functions or methods having static variables inside them
* The behaviour that old methods had been always overridden by new ones independently from
the RUNKIT_IMPORT_OVERRIDE flag was corrected
* Compatibility with 5.3+ in zts mode
* runkit_function_* functions were fixed with the patch from Keisial at gmail dot com
(see the second comment from http://pecl.php.net/bugs/bug.php?id=14086)
* The reverting of protected methods via runkit_method_copy was corrected, the segmentation fault
on calling restored method was eliminated
* Elimination of the segmentation-fault on exit after restoring modified internal functions
(see also http://pecl.php.net/bugs/bug.php?id=11632)
* Correction for the situation when a method or function having static variables in itself
and copied by runkit crashes afterwards on calling if the original method or function was removed
* The issue that the runkit used to create new methods with lowercase names was fixed, tests were extended
* Methods' prototype detection was fixed</notes>
</release>
<release>
<date>2010-04-01</date>
<version>
<release>1.0</release>
<api>0.8</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>This version never was released. It contains all changes from official PHP repository since the release of 0.9:
johannes: function_entry -> zend_function_entry
philip: Fixed test
bjori: Fixed PHP bug#46847 (phpinfo() is missing some settings.)
felipe: 'static' was added into ZEND_BEGIN_ARG_INFO_EX macro
mlively: Rework of runkit_import to allow the fixing of 4519.
sfox: Bring the majority of PECL extensions into line with macro/x.x.x versioning.
sebastian: Fix #10053: memory exhausted, patch by Stefan Marr.
Fix #10300: Segfault when copying __call(), patch by Stefan Marr.
Fix #12371. Patch by Stefan Marr <mail@stefan-marr.de>.
PHP 5.3+ compatibility.
mike: fix build: use Z_LVAL in assignment as Z_BVAL contains a (zend_bool) cast
pollita: Catch signature change in zend_unmangle_property_name() -- Thanks steph</notes>
</release>
<release>
<date>2006-06-06</date>
<version>
<release>0.9</release>
<api>0.8</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>Allow building part of runkit while leaving other functionality out.
--enable-runkit works as before, building all runkit features
Individual features may enabled or disable by using
--enable-runkit-featurename or --disable-runkit-featurename
where featurename is any of:
modify - Runtime manipulation
super - Superglobal registration
sandbox - Sandboxing
Ex: ./configure --enable-runkit --disable-runkit-modify
Enable superglobal registration and sandbox support,
but disable runtime manipulation.
./configure --disable-runkit --enable-runkit-sandbox
Enable only sandboxing support.
This release also:
- Fixes PHP4 (ZE1) compilation
- Closes a potential crash-bug in runkit_import()
handling of default properties
- Resolves an output buffering bug in Runkit_Sandbox
- Resolves Runkit_Sandbox failure when superglobals are defined</notes>
</release>
<release>
<date>2006-05-20</date>
<version>
<release>0.8.1</release>
<api>0.8</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>Added source file runkit_props.c to package</notes>
</release>
<release>
<date>2006-05-14</date>
<version>
<release>0.8</release>
<api>0.8</api>
</version>
<stability>
<release>beta</release>