First time coding in PHP and I hate it. It's an inconsistent clusterfuck.
1+"1" is ok and returns int but "str"+"str" is an error and you have to use . and if you do "1"+"1" it's ok and turns into an int
There are also multiple ways to do the same. To convert a number to a string you can either cast it or use use strval()![]()
I'm the joke, but you're the punchline.
I run this website. I like posting funnies and fugging lolis.