W3Docs allows you to test your PHP skills with exercises.


You can find different PHP exercises (with answers) provided for each PHP chapter. Solve exercises by editing some code. If you cannot solve the exercise, get a hint, or see the answer.

Count Your Score

Each correct answer will give you 1 point. We will always display your current and total scores.

W3docs Online Quizzes

Test your knowledge with W3docs’ basic quiz made especially for beginners.Pass the test and get a Certificate of achievement!