Show newer

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()
:pepeDread:

Why does the TV show want to tell me that genocide is bad? :blobthinking:

@dave
And to be honest, cries about i and y to this fucking day.

@dave
Laughs in žščřďť and ň
Edit: sorry, I forgot about ů

Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.