[php] Add php:allowdynamicproperties feature
This follows PHP 8.2 deprecating dynamic features. The new feature also provides a clean way to fix the remaining PHP test case failure under PHP 8.2.
This commit is contained in:
parent
20ed76a27b
commit
9a4dea06c8
4 changed files with 86 additions and 4 deletions
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
%warnfilter(SWIGWARN_RUBY_WRONG_NAME) global_cint; /* Ruby, wrong constant name */
|
||||
|
||||
%feature("php:allowdynamicproperties", 1) Foo; /* Allow PHP-specific custom property testing in _runme.php */
|
||||
|
||||
%module cpp_basic
|
||||
|
||||
%newobject Bar::testFoo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue