| As a recruiter, I would check the following: - Do you know the magic methods? http://php.net/manual/en/language.oop5.magic.php - Do you understand MVP and its value added? The fact that you use laravel may be an hint for a yes. Have you tried to do a bare PHP/MySQL application? You should, just to see how dirty it can be. - Do you know and use var_dump? - Are you able to write a Fizz Buzz? - What's your knowledge about security stuff? XRSF / SQL injection / XSS - Maybe some basic array manipulation involving array_keys, array_key_exists, array_shuffle. - How would your test if a string is included in another one? The answer is of course using strpos but extra care has to be given to handle a FALSE return - How to test for NULL, empty and FALSE? - How would you do a key value iteration? Tests vary a lot among employers and, in my case, I do not expect 100% good answers but it gives me a quick overview of your level. |
Here what I usually check for in a candidate: - know your OOP (when to extend a class when to use composition, dependency injection, single responsibility principle) - Usually ask at explaining MVC - Ask about frameworks you've worked with (Symphony, Zend, Laravel, etc.) - Your ability to solve problems.
But mostly I look at your ability to solve problems and learn on your own. So if you dont know the answer to something, just let them know that Google and Stackoverflow are your best friends.