Elektrine lite

← Feed

@alice@marrow.haus

2023-05-25 12:17 UTC

@ramsey@phpc.social That is completely ignoring the question and the problem it points out. Mandatory doesn't mean it isn't contaminating the calling scope. Last time I checked, it still did. Register_globals hadn't died by then. To be extremely clear: passing in an array to populate did not prevent it from updating the calling scope.

Replies (1)

  • @ramsey@phpc.social 2023-05-25 12:25

    @alice@marrow.haus Calling scope is no longer updated: https://3v4l.org/fkvHL The register_globals functionality you mention was removed in PHP 5.4, in March 2012—10 years ago. https://www.php.net/releases/5_4_0.php

    Open ##2960161