in reply to
Re: The complicated problem
in thread The complicated problem
What's really sad about that site is that some of the translations are wrong. He treats PHP arrays like normal arrays--but they aren't: every array in PHP is an associative array.
Then I saw this gem:
$a = keys(%h);
$b = values(%h);
$a = array_keys($h);
$b = array_values($h);
The Perl will give you the counts, the PHP returns the actual values...
And that's just the beginning of what this guy says you should do... I'm pretty sure that he doesn't know Perl, but at least it gave me something laugh about :)