I sorted out an interview question for recruiting senior PHP engineers.

Source: Internet
Author: User
Tags php framework
Source: http://www.blogread.cn/it/article.php? Id = 517

Well, basically all these questions are well answered...
Directly question.

1. Basic knowledge points
  1. Meaning of several status codes in HTTP: 503 500 401 200 301 302...
  2. Include require include_once require_once.
  3. History of several PHP/Mysql versions, such as major improvements from mysql4.0 to 4.1 and from PHP 4.x to 5.1.
  4. HEREDOC Introduction
  5. Write some php magic methods;
  6. Configure parameters for php Compilation
  7. Two Methods for passing parameters to php.
  8. (Mysql) Please write out the meaning of the Data Type (int char varchar datetime text); what is the difference between varchar and char;
  9. Use of error_reporting and other debugging Functions
  10. Have you used version control software? What is the name of the version control software you use?
  11. Differences between posix and perl standard regular expressions;
  12. Which of the following are restricted when Safe_mode is enabled.
  13. Write code to solve the problem of multiple processes/Threads simultaneously reading and writing a file.
  14. Write the code for uploading files.
  15. The storage engine of Mysql, the difference between myisam and innodb.
2. web architecture, security, and project experience
  1. This section describes the experience of xdebug, apc, eAccelerator, Xcache, and Zend opt.
  2. When mod_rewrite is used and there is no physical file/archivers/567.html on the server, it is redirected to index. php? Id = 567. Open mod_rewrite first.
  3. MySQL database is used as the storage of the publishing system. There are more than 50 thousand increments per day. It is expected to be maintained for three years. How can this problem be optimized?
  4. Write out a sort algorithm (principle) and explain how to optimize it.
  5. Briefly describe your most proud development work
  6. What kind of method do you use to solve the problem of page access statistics for large-traffic websites?
  7. Have you used the template engine? What is the name of the template engine that you use?
  8. Please introduce the principle of Session. What should I pay attention to when using sessions on large websites?
  9. Tools for testing php performance and mysql database performance, and methods for identifying bottlenecks.
  10. Regular expressions are used to propose all links in a Web page.
  11. This article describes the principles of common SSO (single-point login) solutions (such as dedecms integrating discuz passport.
  12. The features of the PHP framework you have written mainly solve what problems are different from those of other frameworks.
  13. What are the differences in performance optimization between large forums, news articles, and SNS websites?
  14. Photo Album applications: multiple files must be selected and uploaded simultaneously in the browser. images must be cropped and compressed on the server. Upload a single file up to 50 MB. A progress bar is displayed during the upload process. Each image can generate four types of thumbnails, and the video file must be converted to flv for flash playback. Describes all types of open-source software and simple applications involved.
  15. A group of monkeys are arranged in a circle ,..., N is numbered in sequence. Then start counting from 1st, count to m, kick it out of the circle, start counting from behind it, count to m, and kick it out ..., The monkey is called the King until there is only one monkey. Programming to simulate this process, input m, n, and output the number of the last king. Use a program to simulate the process.
3. Basic usage of unix/linux
  1. Some methods to view the current system load information in linux.
  2. Vim.
  3. Ssh security enhancement method; password and rsa key configuration.
  4. Rpm/apt/yum/ports: Basic commands for package installation, query, and deletion.
  5. The basic format of Makefile, gcc compilation, and connection commands are different from-O0 and-O3.
  6. Basic usage of gdb, strace, and valgrind.

 

4. Front-end, HTML, and JS
  1. Css box model.
  2. Prototype in javascript.
  3. The scope of this object in javascript.
  4. The difference between IE and firefox Event bubbles.
  5. What is the weird mode, standard mode, and near standard mode.
  6. DTD Definition
  7. Hack is commonly used in IE/firefox.
  8. Front-end js/css debugging tools in firefox and IE.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.