7

In PHP, strings are classes, functions, whatever you them to be. I feel so filthy, I need a shower after typing this.

Comments
  • 4
    This is one of many reasons why I despise php
  • 1
    Yes, because when you write Something::class it gets converted to full namespaced class path string for example \App\Something. But it can be definitely confusing at first.
  • 0
    Php string actually binary data, so it can be anything, photoshop, video game, hardcore/softcore porn, ect.

    What a powerful language
Add Comment