Page 1 of 1

test your PHP skill

Posted: Mon Feb 09, 2009 5:03 am
by dude81
Hello all,

Test your skill at http://webplumbr.com/lab/phptest, and post your scores here with your level, I'm sure it would be fun.
Luckily the author happens to be my ex-team lead, and a very good PHP developer whom I've seen in my career. He had worked with some of the core php developers and has an excellent grip on the PHP concepts.

my score: -20
level: intermediate
8 correct
9 wrong

Re: test your PHP skill

Posted: Mon Feb 09, 2009 7:57 am
by Ziq
Strange test...

How I can read this for 10 seconds? :)
While comparing objects, which of following is true with regards to == and === operator, respectively?

(==) evaluates to true only if both operands are references to the same instance of a class; (===) evaluates to true only if both operands are instances of the same class
(==) evaluates to true only if both operands are instances of the same class; (===) evaluates to true only if both operands are instances of the same class
(==) evaluates to true if both operands are references to the same instance of a class or both are instances of the same class; (===) evaluates to true if both operands are references to the same instance of a class
(==) evaluates to true if both operands are reference to the same instance of a class or both are instances of the same class; (===) evalutes to true if both operands are instances of the same class or both are instances of different classes that have the same properties
I know my English is bad but I don't think that anyone can.

Re: test your PHP skill

Posted: Mon Feb 09, 2009 8:07 am
by dude81
No doubt, you should have tried advanced user. Neither could I read it. Rather could have reported to the admin, probably he could have fixed the bug.
I'm sure the content is not as bad as it is in many php test sites.

Re: test your PHP skill

Posted: Mon Feb 09, 2009 11:26 am
by John Cartwright
On advanced,

You have 7 correct and 7 incorrect answers.
Your final score is -78

Some of the questions were very poorly worded, and very obscure. Half the time by the time I finished reading the questions I had only about 10 seconds left to read all the answers, click the radio button, then click the submit.

I give the test 1/10

Re: test your PHP skill

Posted: Mon Feb 09, 2009 4:42 pm
by jayshields
Poor test.

On intermediate:
You have 10 correct and 7 incorrect answers.
Your final score is 4.

I would've liked to have known which questions I got correct and incorrect.