Why is PHP so sexy?

Why is PHP so sexy?

Go away Pajeet

...

Are you retarded?

>I don't know how to stop it
my sides

>the function hashing mechanism was strlen()
What does this mean?

>I'll just restart Apache every 10 requests
holy shit kek

>require() instead of autoloading
>echoing html instead of using templates
>sql queries inside the same file as HTML
PHP is just fine, but this code is not.
Just because you can write a login script like a retard doesn't mean you should.

google
strlen()
then google
hashing function

strlen("A") == 1
strlen("AA") == 2
strlen("B") == 1
If you use strlen as a hash then A equals B.
A more realistic example would be that strlen equals strcat.

Rasmus is an old school troll and you have taken the bait.

...

Even his name is a troll - read it backwards in a pirate voice.

>sexy
I think you mean retarded.

A hash is making a number out of basically anything in a way, that it is extremely unlikely that two hashes are made from two different inputs. So you can easily check if two objects are different by comparing their hashes. Strlen says how long a string is. For 'hello' it would be 5. For 'gaben' it would be 5 too. See the problem?

Doop doopity doop doop deep doop, boop boopity boop boop beep boop.

Why? I was taught this way

>brackets
>PHP
hahaha programmers are extinct

PHP was a kludge in the first place

long live javascript

Share your brackets theme famalam

I dunno senpai, I kind of like it

>copy and paste from symfony manual
>don't remove comments

Because it's a simple, yet powerful language.

frudrel sumsar... what weird about that