Home > Backend Development > PHP Tutorial > Common interview questions for 3-5-year PHPers, 3-5phper test questions_PHP tutorial

Common interview questions for 3-5-year PHPers, 3-5phper test questions_PHP tutorial

WBOY
Release: 2016-07-12 09:07:26
Original
964 people have browsed it

Common interview questions for PHPers with 3-5 years of experience, 3-5phper test questions

I saw a lot of them, to summarize, they are more suitable for PHPers with certain experience

1. What PHP books and blogs do you usually like? CSDN, Huxiu, Lieyun
2. What is js closure?
3. Which one is faster, for or foreach?
4. Who is PHP Bird Brother? Can you talk about the PHP execution principle?
5. What are the PHP accelerators? apc, zend, xcache... Can you talk about their acceleration principles?
6. It is nonsense that Node.js can completely replace php apache.
7. How to determine whether a value exists in an array? in_array(), array_key_exists,...
8. How to determine whether an index is used in the select statement? explain
9. Do you use a third-party library for Chinese word segmentation in sphinx or build your own library?
10. If an interviewee has little experience and poor foundation, he or she will ask about advanced knowledge at this time. If you want to doubt its stability, you can ask whether working overtime would be objectionable to him.
11. What are the differences between mysql and mysqli?
12. What is the future development direction? Security, data mining, big data processing?
13. PHP’s object-oriented approach: class modifiers, encapsulation, inheritance, and polymorphism
14. What is PHP polymorphism?
15. Type Hinting: http://www.php.net/manual/en/language.oop5.typehinting.php
16. PHP design patterns: singleton mode, factory mode, producer mode. .....etc. 23 kinds
17. Server status code: 200, 202, 301, 404, 500...
18. What is the difference between $i and $i?
19. Project development: Shopping cart data persistence in e-commerce projects, security considerations for examination systems,
20. MySQL design basics: three major paradigms, functions -> mind map, table creation What is the first field?
21. MySQL field char, varchar, int, smallint, tinyint, mediumint, bigint, decimal, double, float bytes and application scenarios.
22. What are the usage scenarios of memcache, mongoDB, and Redis?
23. Why do mongoDB and Redis not compete but complement each other?
24. What are the data types of Redis? int, string, hash, set, list?
25. When installing Linux software, should you use make or yum?
26. Linux network optimization: Check the process ps -aux|grep mysqld. How to check the maximum number of open files?
27. What is the virtual function in C language?
28. What should I do if I want to push a meager post to 1 million fans?
29. What algorithms do you know? Bubble sort? Quick sort? Binary search method?
30. The respective advantages of yii thinkphp ci
31. What are the PHP design patterns?
32. What are the c sorting algorithms?
33. What is the basic structure of php?
34. Memcache magent distributed design?
35. How to design redis distributed design?
36. What is the mongo cluster architecture?
37. MySQL indexing principle and SQL performance optimization
38. TCP/IP network protocol, what is the osi7 layer?
39. PHP handles big data business
40. Linux application load performance check?
41. nginx practical optimization of business functions?
42. Tell us about your most successful work in the past three years?
43. Looking at your resume, you will be asked about the number of users, pv, throughput, related difficulties and solutions of some past projects
44. Database design experience, why table splitting? Database splitting?
45. What is the general amount of data to start splitting into tables? Database splitting? What is the purpose of database splitting? What is database vertical splitting? Horizontal splitting? Partitioning, etc. wait? You can give examples
46. What are the database optimizations? What should you pay attention to?
47. What kind of caches will you encounter in web development? How to optimize them?
48. I give you 256M of memory, for 10G How to sort files (1 number per line of file)?
49. How to search for 10G files?
50. How to count the number of occurrences of each keyword in a 10G file?
51. If you are now the designer of 12306 train ticket booking, how should you design to satisfy the needs of people across the country?
52. If there are 100 million user visits, what is your server architecture? Users How to design an information storage solution?
53. If you are a technical team leader and the team you lead cannot complete the task progress, how should you solve it?
54. If you insert a task when the schedule is full, what should you do? Ensure that the overall progress is not delayed?
55. If some engineers have not completed their scheduled tasks today, how should you solve it?
56. From your experience, talk about how to build a high-performance web site? What are the steps? ? What should be paid attention to in each step, how to optimize it, etc.?
57. Why should we separate the database from master and slave?
58. How to deal with multi-server shared sessions?
59. For a 10G table, you use PHP The program counts the number of times a certain field appears. The idea is?
60. I will tell you an nginx log example. Use the programming language you think is the best to count the top 10 URLs with http response times exceeding 1 second?
61. Give you a mysql configuration file, use the programming language you think is the best to parse the file?
62. Give you two paths a and b, write an algorithm or idea to calculate the gap between a and b and display a The intersection with b?
63. Give you a url, configure rewrite in nginx and specify it to a specific path?
64. What is the interpretation process of a PHP file? What are the general methods to speed up PHP? What technologies are used to improve the overall performance of PHP?
65. What is the difference between the life cycle of session and cookie? The difference in storage location?
66. require, include , require_once, include_once difference? Loading difference? If the program loads a php file on demand, how do you implement it?
67. Chrome is called multi-threaded, so the difference between multi-threading and multi-process is?
68. php A hash collision occurred at the end of 2011. What is the principle of hash collision? How to repair it?
69. What are the insecure factors of the web? How to prevent them?
70. If two singly linked lists intersect, write an optimal algorithm calculation You can also talk about ideas at the intersection location?
71. If you are the technical team leader? How to improve team efficiency?
72. What are the nginx load balancing? If one of the servers hangs up, how to implement the alarm mechanism?
73. Without optimization, what is the general maximum number of connections for Apache? What is the general maximum number of connections for nginx? Mysql insert per second? select? update? delete?
74. What are the data types of mysql? How much storage space do they occupy? ?
75. nginx sets up caching of js, css, pictures and other information. The implementation principle of caching is?
76. How to improve the cache hit rate? How to granularize the cache?
77. PHP memory recycling The mechanism is?
78. I have asked all my questions (of course not so many). Do you have any questions for me?

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/1060692.htmlTechArticleCommon interview questions for 3-5 phpers. There are many 3-5 phper test questions. To summarize, More suitable for PHPers with certain experience 1. What PHP books and blogs do you usually like? CSDN, tiger sniffing, hunting...
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template