Problems on interviews for the vacancy of the programmer
I decided to publish the tasks that I was asked to determine my professional ability at the interview for a php-programmer's vacancy. Immediately warn you that I know the decision. Just maybe someone will be interested to "stretch their brains." Problems in the comments.
If you want to check yourself, write the solution here, have any questions - ask here.