|
|
|
I have a php developer interview? Any advice?
|
|
7 points
by ecuanaso
4199 days ago
|
|
I'm still learning PHP, for almost 2 months. I have a good understanding of the basics. I've created some projects using laravel.the interview is a first round interview , any advice on what I should watch out for? Thanks. |
|
- 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.