GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Anthony (stormsweeper@dice.camp)'s status on Tuesday, 13-Feb-2024 04:31:25 JSTAnthonyAnthony
    in reply to
    • Annika Backstrom

    @annika oh if it's just the same var for all invocations you can use `use`: `function($foo) use ($someVar) {}` https://www.php.net/manual/en/functions.anonymous.php#example-541
    (this `use` not to be confused with the other uses of `use` 🙃)

    In conversationabout a year ago from dice.camppermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.