Why is PHP so sexy?
Go away Pajeet
>>54808901
>>54808901
Are you retarded?
>>54809360
>I don't know how to stop it
my sides
>>54809360
>the function hashing mechanism was strlen()
What does this mean?
>>54809360
>I'll just restart Apache every 10 requests
holy shit kek
>>54808901
>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.
>>54809571
strlen()
then google
hashing function
>>54809571
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.
>>54809524
>>54809571
>>54809612
Rasmus is an old school troll and you have taken the bait.
>>54809524
>>54809643
Even his name is a troll - read it backwards in a pirate voice.
>sexy
I think you mean retarded.
>>54809571
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?
>>54809571
Doop doopity doop doop deep doop, boop boopity boop boop beep boop.
>>54809618
Why? I was taught this way
>>54808901
>brackets
>PHP
hahaha programmers are extinct
>>54808901
PHP was a kludge in the first place
long live javascript
>>54808901
Share your brackets theme famalam
>>54808901
I dunno senpai, I kind of like it
>>54813333
>copy and paste from symfony manual
>don't remove comments
>>54808901
Because it's a simple, yet powerful language.
>>54809668
frudrel sumsar... what weird about that