Archive Blog Archives

test

You'll be presented 10 questions out of different categories.

Questions range from answering what output a certain block of code would produce to just fact-checking.

There is no time limit, so no stress.

You can go back at any time during the test. So you don't need to supply an answer immediately and you can correct an answer when you've already moved on.

While I certainly can't check it, it 'd be nice if you participated without looking up the answers on the big old internet. What would the point of taking this test be otherwise?

Found some errors? Wish to expand on something? You'll be given the opportunity to supply feedback at the end of the test.

Press 'Next' to start with the first question.

Good luck!


You scored %AMOUNT_CORRECT% out of 2.

Thank you for participating in this test!

If you like, you can supply your twitter-handle down below. We will use this in our leaderboard and in our tweet in which we state that you participated and your score.

You can leave your e-mailaddress so we can send you the results by mail as well. In this mail will be the questions, your answers and the correct answers along with a short description why this is the correct answer.

Both these values are optional.



All questions

Welcome to your All questions

Which line shows a function with a nullable parameter?

What is the output of the following code?

* click on the image to enlarge

What is the result of the following code?


* click on the image to enlarge
stdclass

What does the following code output?


* click on the image to enlarge
closure from callable

What does the following code output?

What is the output when the following code is run?

constructors

What is the output when the following code is run?


* click on the image to enlarge

Which are validPHP tags? (choose all that apply)

Which answers will output 'bool(true)' when the code is run? (choose 2)

What is the output when the following code is run?

echo 3 + 015 + -4 + 0x21 + 0b110;

What is the output of the following code:

echo 'C:\\Windows\System32';

Which of the following answers will NOT produce an error? (choose 2)

What is the output when the following code is run?

$b = (object) ['foo' => 'bar'];
$b->foo;

What is the output when the following code is run?


* click on the image to enlarge

Which answers produce 'Hello Paul' as output provided that $user['firstname'] contains 'Paul'? (choose 2)

What is the output when the following code is run?

* click on the image to enlarge
call_user_func

What is the output when the following code is run?

 call_user_fun

What is the output when the following code is run?

* click on the image to enlarge
math

What would the output be, if the following code was run?

echo multiline

What would the output be if the following code was run on the command-line?
asp tags

What is the output when the following code is run?
short tags

What is the output of the following code?
short tags

What is the output of the following code?
echo string

What is the output of the following code?
echo string

What is the output of the following code?
echo string

Test Yourself

You'll be presented 10 questions out of different categories.

Questions range from answering what output a certain block of code would produce to just fact-checking.

There is no time limit, so no stress.

You can go back at any time during the test. So you don't need to supply an answer immediately and you can correct an answer when you've already moved on.

While I certainly can't check it, it 'd be nice if you participated without looking up the answers on the big old internet. What would the point of taking this test be otherwise?

Found some errors? Wish to expand on something? You'll be given the opportunity to supply feedback at the end of the test.

Press 'Next' to start with the first question.

Good luck!

Please note: this test uses PHP version 7.1


Thank you for participating in this test!

If you liked this test, then you'll love the real exam! 71 Questions to challenge your knowledge and learn by doing.

show me the​ packages

You can leave your e-mailaddress so we can send you the results by mail as well. In this mail will be the questions, your answers and the correct answers along with a short description why this is the correct answer.

Leaving your emailaddress is optional. You will see the results whether or not you supplied one. I will not share your information with anyone.