News for hackers. Stuff that matters.
Re:TLDR explains what a piece of code does by wingerlang on Friday September 23, 2022 @04:18AM (#32949286)
Ironically your example would be a pretty great case for someone like me, who occasionally use PHP for fun but don't really use-use it.

    $data = file_get_contents(filename: 'php://input');
I would definitely have to google what this means, like why is it opening a file and how is 'php://input' a file?

    "We're getting the raw request body"
Is actually a good explanation.

So, someone new to a project, and maybe unfamiliar with the tech, might find this useful.

There are no comments on this comment yet.