All the WTF's of the PHP World
Switch branches/tags
Nothing to show
Pull request Compare This branch is 1 commit ahead, 2 commits behind woodworker:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


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!