


Common interview questions for 3-5-year PHPers, 3-5phper test questions_PHP tutorial
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?

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



As a programming language that has become very popular in recent years, Go language has become a hot spot for interviews in many companies and enterprises. For beginners of the Go language, how to answer relevant questions during the interview process is a question worth exploring. Here are five common Go language interview questions and answers for beginners’ reference. Please introduce how the garbage collection mechanism of Go language works? The garbage collection mechanism of the Go language is based on the mark-sweep algorithm and the three-color marking algorithm. When the memory space in the Go program is not enough, the Go garbage collector

As a well-known programming learning website, php Chinese website has compiled some React interview questions for you to help front-end developers prepare and clear React interview obstacles.

This article summarizes some selected Web front-end interview questions worth collecting (with answers). It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

This article will share with you 50 Angular interview questions that you must master. It will analyze these 50 interview questions from three parts: beginner, intermediate and advanced, and help you understand them thoroughly!

High concurrency is an experience that almost every programmer wants to have. The reason is simple: as traffic increases, various technical problems will be encountered, such as interface response timeout, increased CPU load, frequent GC, deadlock, large data storage, etc. These problems can promote our Continuous improvement in technical depth.

This article summarizes for you some selected vue high-frequency interview questions in 2023 (with answers) worth collecting. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.

10 questions every day. After 100 days, you will have mastered all the high-frequency knowledge points of front-end interviews. Come on! ! ! , while reading the article, I hope you don’t look at the answer directly, but first think about whether you know it, and if so, what is your answer? Think about it and then compare it with the answer. Would it be better? Of course, if you have a better answer than mine, please leave a message in the comment area and discuss the beauty of technology together.

10 questions every day. After 100 days, you will have mastered all the high-frequency knowledge points of front-end interviews. Come on! ! ! , while reading the article, I hope you don’t look at the answer directly, but first think about whether you know it, and if so, what is your answer? Think about it and then compare it with the answer. Would it be better? Of course, if you have a better answer than mine, please leave a message in the comment area and discuss the beauty of technology together.
