Post #2476223
2026-05-02 13:40 UTC
@grant_h@mastodon.social @brass75@twit.social @qoyyuum@fosstodon.org the default is not set at first call, it is at function definition time, an empty array is created and attached to the function signature like any default value would, then this same value (an array that was created empty, but might now be not empty anymore) is used every time no value is passed for that argument.
Replies (0)
No replies.