3-5 years of Phper common face test

Source: Internet
Author: User
Tags mysql insert php books what php nginx load balancing
See a lot of, summed up, more suitable for a certain experience of the Phper

1. What PHP books do you usually like andBlog? CSDN, tiger sniffing, cloud hunting
2, JS closure is what?
3, for and foreach which is faster?
4, who is the PHP bird brother? Can you explain how PHP works?
5. What are the PHP accelerators? APC, Zend, XCache ..... Can you tell me how it's accelerating?
6.node. jsIt is nonsense to replace Php+apache completely.
7, how to determine whether a value exists in the array? In_array (), Array_key_exists,......
8, how to determine whether the SELECT statement is usedIndex? Explain
9, Sphinx Chinese word Thesaurus use a third-party library or build your own library?
10, if an interviewee experience less, the foundation is poor, at this time but asked some advanced knowledge. To doubt its stability, you can ask whether overtime will contradict him.
11. What are the differences between MySQL and mysqli?
12, the future direction of development? Safe, orData Mining, Big Data processing?
13. PHP-OrientedObject: Class modifiers, encapsulation, inheritance, polymorphism representation
14, what is the PHP polymorphism?
15. Type hinting:http://www.php.net/manual/en/language.oop5.typehinting.php
16, PHP'sDesign Patternssingle-case mode, Factory mode, producer mode ... and other 23 kinds
17. Server Status code: 200, 202, 301, 404, 500 ...
18. What is the difference between $i + + $i?
19, project development: E-commerce projects in the shopping cart data persistence, examination system security considerations,
20. mysql Design basics: three paradigms, functionsThinkingWhat is the first field of the map and the table created?
21, MySQL field char, varchar, int, smallint, tinyint, mediumint, bigint, Decimal, double, float byte number and the application scenario.
22. What are the respective usage scenarios for memcache and MongoDB and Redis?
23, why does MongoDB and Redis not form competition but is complementary relationship?
24. What are the Redis data types? int, string, hash, set, list?
25. How do I use the Yum method when installing Linux software?
26, Linux Network optimization: View the process Ps-aux|grep mysqld, how to see the maximum number of file open?
27. What is the virtual function in C language?
28, 1 meager to push to 1 million fans what should be handled?
29. What algorithms do you know? Bubble sort? Quick sort? Two-point search method?
30, Yii thinkphp ci respective advantages
31. PHPDesign PatternsWhat are they?
32. What are the C sorting algorithms?
33. What is the basic structure of PHP?
34, Memcache magent distributed design?
35, how to design the Redis distributed design?
36. What is the MONGO cluster architecture?
37. mysqlIndexPrinciples and SQLPerformance Optimization
38, TCP/IP network protocol, OSI7 layer refers to what?
39, PHP processing Big Data business
40, Linux application load performance view?
41, Nginx real-combat optimization of business functions?
42, talk about the last three years of your proud work?
43, look at the resume, will ask some of the past to do the project user volume, PV, throughput, related difficulties and solutions, etc.
44, database design experience, why do the sub-table? The Sub-Library?
45, the general amount of data to start a table? The Sub-Library? What is the purpose of the sub-list? What is a vertical split of a database? Split horizontally? Partition, etc.? An example can be illustrated
46. What are the database optimizations? What should we pay attention to separately?
47. What caches are encountered in web development? How to optimize separately?
48, give you 256M of memory, 10G of files to sort (1 numbers per line of files), how to achieve?
49, how to find the 10G files to achieve?
50. How many times do you count the number of keywords appearing in 10G files?
51, if you are now 12306 train booking designers, how can you design to meet the National people booking?
52, if there are 100 million users of traffic, what is your server architecture? How is the storage scheme for user information designed?
53, if you are the technical leader, the team task progress can not be completed how can you solve?
54. How do you ensure that the overall progress is not postponed if the task is inserted under the condition of full progress?
55. If some engineers do not complete the scheduled task today, how can you solve it?
56. Talk about how to build a high-performance Web site from your experience? What are the steps required? Steps? What do you need to be aware of and how to optimize each step?
57, why should the master-slave separation of the database?
58, how to handle multi-server sharing session?
59, a 10G table, you use the PHP program to count the number of occurrences of a field, the idea is?
60, will tell you a Nginx log example, in your opinion of the best programming language to the HTTP response time more than 1 seconds of the first 10 URLs?
61. Give you a MySQL configuration file to parse the file in the programming language you think is the best?
62, give you two paths A and B, write an algorithm or ideas to calculate a and B gaps several layers and show the intersection of A and b?
63, give you a URL, in nginx configuration rewrite specified to a specific path?
64. What is the interpretation process of a PHP file? What is the general acceleration of PHP? What technologies are used to improve overall PHP performance?
65. What is the difference between session and cookie life cycle? Storage location differences?
66.requireincluderequire_once,include_once difference? Load difference? If the program loads a PHP file on demand, how do you implement it?
67, Chrome is called multi-threaded, so multi-threading and multi-process difference?
68, PHP at the end of 2011 hash collision, the principle of hash collision? How do I fix it?
69. What are the factors of Web insecurity? How to guard against each other?
70, if two single-linked tables intersect, write an optimal algorithm to calculate the intersection location, say the idea can also?
71, if you are technical leader? How to improve team efficiency?
72. What are the Nginx load balancing? If one of the servers hangs up, how does the alarm mechanism be implemented?
73, do not optimize the premise, the Apache general Maximum number of connections? Nginx General Maximum number of connections is? MySQL insert per second? Select? Update? Delete?
74. What are the MySQL data types? How much storage space do you use separately?
75, Nginx set cache js, CSS, pictures and other information, the implementation of the principle of caching is?
76. How to increase the cache hit rate? How do I granular the cache?
77. What is the memory recovery mechanism of PHP?
78, all my questions have been asked (of course not so much), you have any questions asked me?

The above describes the 3-5 phper common face test, including the performance optimization, blog, require,include, singleton mode of the content, I hope that the PHP tutorial interested in a friend helpful.

  • 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.