Since graduation in 2012, I have worked on C# for one year, PHP for two years, and node for a few months. Due to some reasons, I left my job again. I received an interview call from Tencent Interactive Entertainment for PHP. After hurriedly preparing, I went to Tencent's Kexing Science and Technology Park. Go up to the office building.
Most of the test questions are available online, for example:
<span>function</span> my_scandir(<span>$dir</span><span>) { </span><span>$files</span> = <span>array</span><span>(); </span><span>if</span> ( <span>$handle</span> = <span>opendir</span>(<span>$dir</span><span>) ) { </span><span>while</span> ( (<span>$file</span> = <span>readdir</span>(<span>$handle</span>)) !== <span>false</span><span> ) { </span><span>if</span> ( <span>$file</span> != ".." && <span>$file</span> != "."<span> ) { </span><span>if</span> ( <span>is_dir</span>(<span>$dir</span> . "/" . <span>$file</span><span>) ) { </span><span>$files</span>[<span>$file</span>] = <span>scandir</span>(<span>$dir</span> . "/" . <span>$file</span><span>); }</span><span>else</span><span> { </span><span>$files</span>[] = <span>$file</span><span>; } } } </span><span>closedir</span>(<span>$handle</span><span>); </span><span>return</span><span>$files</span><span>; } } </span><span>$files</span>=my_scandir('E:\wamp\www'<span>); </span><span>print_r</span>(<span>$files</span>);
Generally speaking, the written test is not very difficult. If you pass the basics, you should be able to answer the questions
here mainly asks about the technologies used in the project. The interviewer usually looks at your comparison of those things. For an in-depth understanding, such as what architecture a project uses and what solutions are used for caching, it is recommended to sort out one or two in-depth technologies and better solutions used in this project, as well as what ideas you have for improving this project.
In the second interview, you will be more inclined to check your comprehensive ability. Generally, you will be asked about your role in the team at that time and your role in the team. Everyone should prepare here before the interview. It is best to have a It's easier to answer questions fluently this way.
The supervisor interview is similar to the two-face interview. It mainly looks at questions such as potential, learning attitude, and breadth of knowledge. Maybe you have too little experience and really don’t know how to answer the best questions.
Personal blog: http://www.yixiong.xyz/
The above introduces Tencent's PHP experience, including various aspects. I hope it will be helpful to friends who are interested in PHP tutorials.