This Scripts will be a collection of all the crazy and WTF stuff in PHP.
Please fork and add your own WTF's and please always with an explanation why this WTF works like it does. I will merge as many as i can to create a cool and crazy collection.
So have fun.
-
Fork!
-
To add a new WTF, create a new subfolder in "wtfs" namend like yyyy-mm-dd-githubusername, to avoid merging problems.
-
Add your wtf as a short script in a file called src.php.
-
Write a short description in a file called explanation.txt
-
Create a pull request.
-
...
-
Profit!