Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP competency test? [closed]

Tags:

php

Are there any good free PHP competency tests out there? It's easy for someone to say they code in PHP, but depth and understanding of how lowerlevel parts of the language are parsed and executed is much different.

Something that asks good questions, perhaps elicit the person to write some sample code solutions to particular problems.

Ideas?

like image 923
Spot Avatar asked Jan 15 '10 21:01

Spot


1 Answers

Ask them to write an absolutely trivial ‘Hello, $name!’ example that also stores the user-input names to a database.

If they manage to do it without HTML-injection or SQL-injection security holes you've already got someone in top ten percent of PHP coders. If they manage to include proper indenting and maybe a comment then wow! It's a superstar.

I'm not even joking.

like image 53
bobince Avatar answered Oct 19 '22 08:10

bobince