this post was submitted on 21 Nov 2024
73 points (97.4% liked)

PHP

561 readers
1 users here now

Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.

Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!

Let's code, learn, and grow together!

founded 2 years ago
MODERATORS
 

Ever wanted to provide your arguments to a function as a comment?

https://gist.github.com/RikudouSage/18defbf1746322a289ae78b2980d0115

#php #cursed #wtf #programming @php

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 31 points 1 month ago

the function reads the comment added after the function is called using a backtrace and uses them as arguments

How marvelously creative. What an abomination.