Replies: 2 comments 6 replies
-
Hi. We had this issue when solving this bug labeled "corner case". We solved it with a global property. |
Beta Was this translation helpful? Give feedback.
5 replies
-
Maybe, this could be solved by introducing a
This would require
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In same cases, the macro functions need properties that do not exist in the macroable class. This forces you to create a property dynamically.
In recent versions of PHP, the dynamic creation of properties is deprecated. Specifically, the dynamic creation of class properties is deprecated as of PHP 8.2 and will result in a fatal error from PHP 9.0.
To solve this, I think it would be enough to add a property that allows you to set/get all these dynamic properties:
For example, a macro function with dynamic properties would be:
Discussions on the same topic:
#47337
Beta Was this translation helpful? Give feedback.
All reactions