Home >Backend Development >PHP Tutorial >A complete collection of PHP senior engineer interview questions

A complete collection of PHP senior engineer interview questions

WBOY
WBOYOriginal
2016-07-25 08:53:001732browse
This article introduces a PHP senior engineer interview question. Programmer’s Home (bbs.it-home.org) has introduced many PHP interview questions before. Here is another PHP senior engineer interview question. It is a bit difficult. Friends who need it can refer to it. Down. Topic recommendation: PHP interview questions and answers

php senior engineer interview questions

1. Basic knowledge points The meanings of several status codes in the http protocol: 503 500 401 200 301 302. . . The difference between include require include_once require_once. The evolutionary history of several versions of php/mysql, such as major improvements from mysql 4.0 to 4.1, php 4.x to 5.1, etc. Introduction to heredoc Write some php magic methods; Some configure parameters when compiling php Two ways to pass parameters to php. (mysql) Please write down the meaning of data type (int char varchar datetime text); What is the difference between varchar and char? Debug functions such as error_reporting are used Have you ever used version control software? If so, what is the name of the version control software you used? The difference between posix and perl standard regular expressions; Which places are restricted after safe_mode is turned on. Write code to solve the problem of multiple processes/threads reading and writing a file at the same time. Write a piece of code to upload files. The storage engine of mysql, the difference between myisam and innodb.

2, web architecture, security, project experience Introduce the experience of using xdebug, apc, eAccelerator, Xcache, Zend opt. Using mod_rewrite, when there is no physical file /archivers/567.html on the server, it will be redirected to index.php?id=567. Please turn on mod_rewrite first. The mysql database is used as the storage for the publishing system. The increment of more than 50,000 items per day is expected to last three years. How to optimize it? Write a sorting algorithm (principle) and describe ways to optimize it. Please briefly describe your most proud development work For websites with high traffic, what method do you use to solve the problem of statistics of page visits? Have you ever used a template engine? If so, what is the name of the template engine you used? Please introduce the principle of Session. What should we pay attention to in terms of Session in large websites? Tools for testing PHP performance and MySQL database performance, and ways to find bottlenecks. Regularly proposes all links in a web page.

Introducing the principles of common SSO (single sign-on) solutions (such as dedecms integrating discuz's passport). What are the characteristics of the PHP framework you have written, what problems does it mainly solve, and how is it different from other frameworks.

What are the differences in performance optimization between large forums/news article systems/SNS websites? Photo album applications: It is required that multiple files can be selected and uploaded at the same time in the browser, pictures must be cropped, and the compressed package must be decompressed on the server side. Can upload a single file up to 50M. A progress bar is displayed during the upload process. Each picture can generate thumbnails of four sizes, and the video files must be converted into flv for flash playback. Describe the various types of open source software to be covered and their simple uses.

A group of monkeys line up in a circle and are numbered according to 1, 2,...,n. Then start counting from the 1st one, count to the mth one, kick it out of the circle, start counting from behind it, count to the mth one, kick it out..., and continue in this way until the end. Until there is only one monkey left, that monkey is called the king. Programming is required to simulate this process, input m, n, and output the number of the last king. Use a program to simulate this process.

3, basic use of unix/linux Some methods to view current system load information under Linux. Basic shortcut keys for vim. SSH security enhancement method; configuration of password mode and rsa key mode. rpm/apt/yum/ports Basic commands for package installation, query, and deletion. The basic format of Makefile, gcc compilation and connection commands, and the difference between -O0 and -O3. Basic use of gdb, strace, valgrind.

4, front-end, HTML, JS css box model. prototype in javascript. The scope of this object in JavaScript. The difference in event bubbling between IE and Firefox. What are weird mode, standard mode, and near-standard mode. Definition of DTD Commonly used hacks for IE/firefox. Firefox, front-end js/css debugging tool under IE.



Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn