Created
May 9, 2017 13:31
-
-
Save alexwybraniec/3556b268faeaa919dd6cc11a898c3ad5 to your computer and use it in GitHub Desktop.
Mid-level technical interview questions (2015)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. What is wrong with this snippet of code? | |
https://gist.github.com/alexwybraniec/2585f0578304734b9a53 | |
2. How would you make the snippet of code in the previous question better? | |
3. Make the function in this snippet return a date 32 days in the future from the inputed date and in the same format. | |
https://gist.github.com/alexwybraniec/306a5802ff4ff96d9fd4 | |
4. What would the following code output? | |
https://gist.github.com/alexwybraniec/61f7487eb4e14dcd3eb5 | |
5. What does php -a do and why is it useful? | |
6. What is the difference between var_dump and print_r, and which is more useful? | |
7. What is the difference between "$this->" and "self::" ? | |
8. What is your preferred text editor and why? | |
9. What is your preferred CMS and why? | |
10. What is your preferred second language and why? | |
11. What does PHP stand for? | |
12. What is the difference between composer.json and composer.lock? | |
13. Why is the next version of PHP 7, not 6? | |
14. What is HHVM? | |
15. What is your favourite PHP function? | |
16. If you didn't know the answer to any of the above, how would you find out? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment