PHP interview long See problem record

Source: Internet
Author: User
Tags traits

This article is mainly to share with you the PHP interview long see the problem record, we first share with you some of the HR will ask questions, hope to help everyone.

1 What are your career plans and do those efforts for this goal
2 What are your traits and weaknesses?
3 What is your role in the team?
4 What is the reason for leaving?
5 What do you think about overtime?
6 something that you have done at work that makes sense.
7 What other technologies do you pay attention to when you work outside your job?
8 What are the factors that you value when you look for a job (this problem is more thorough, I think if the HR is very responsible, the ability is strong, or the company is more important to this position)
And finally-what do you want to ask me?

Technical aspects
0.1 high-traffic concurrency-efficient Solutions
1 MySQL How to divide the Library sub-table
Personally, the current mastery of the difficulty of 3 stars. Requires a lot of basic knowledge that may not be used in your actual operation, but the theory you have to be able to say

2 PHP Design Patterns – Important – Tell the design patterns and usage scenarios and benefits you know
I think this is between intermediate and junior programs, or even between high-level programs and intermediate programs between a transition standard, purely from the programming language aspect, can be involved in the design pattern of the time should be a little bit of scale of the project. Of course, you may not normally notice it, but it's actually in use. You may not be able to say or understand the depth of the interview can become your minus, and is very important, because you are a programmer, not a DBA or operation, so the knowledge of the program you should still master more.

3 Database Tens data manipulation and table design
4 Understanding of Indexes
5 memcache understanding and underlying-similar caches like this are almost required, extending the distinction between Memchache and redis and practical scenarios
6 usage scenarios for Redis
7 understanding of queues and stacks and practical scenarios
8 PHP Multi-process
Regular Expressions (50% of the examinations opportunity, some interviewers would rather value, because this is the basis, just like the action string)
What is object-oriented, examinations chance 50%. Straightforward encapsulation inheritance polymorphic Direct elimination of the difference between the
Apache and Nginx, and why now most of the choice nginx
MySQL optimization method, asked very general, as long as you normally use the level of MySQL and design depth, examinations chance 10,000%, Just look at the question of the exam. Depth
Linux usage requires that you do not want to cache and MySQL so deep, but also basic at least scheduled tasks, simple shell scripts and basic commands you must return
session issues (such as session sharing, Session and Cookie relationship, this is required, almost 100%)
What is the nature of the thing and the application scenario
9 The operation of the string and array, must test, did not skip these two problems
above are general, but are required to test, the following is a written test
10 The difference between int=intval (int) and int=int+0
Intval is to force a variable to be converted to an integral type. The + operation of the variable can only be the sum of the operation operations, so if int is an integer, it can be normal operation, if the non-numeric type, the result is 011arr1= array (1,2,3,4,5);
Arr2=array (6,7,8,9,10,11); Vardump (ARR1+ARR2); What is the result of 12arr1 = Array (1,2,3,4,5);
foreach (arr1 as &item) {echo item;} item = 3;
foreach (Arr1asitem) {echo $item;}
What will be output twice

PHP's operations on large files and Linux operations on large files-the chances of examinations are very large, especially the former
14 Write a function that can traverse all the files and sub-files in the folder this is almost a must-test
15 table Tab_log structure, ID,UID,TM; How to implement a query one day there are three records above the UID
Select Uid,count (*) as Num from Tab_log GROUP BY TM have num > 3
What is the difference between error_reporting ("E_all") and Ini_set ("Display_errors", "on")?
The latter is more than the former, the latter is off, the former even E-all is useless.
The difference between the echo print Print_r
The biggest difference between Echo and print is that the former is a PHP built-in statement that has no return value and cannot be used in an expression such as a ternary operator. The latter belongs to the function, and printing correctly returns true error returns false. 1?print (1): 6; Correct, but using echo is wrong.
-Continuous updates
Finally, the ultimate question, talk to you opposite to the understanding of the object, hehe
Overall, the interview is more important than the written test (if the interviewer is not busy, if you do not have a good written question may be directly without an interview opportunity), as long as you do the interview to play well all is not a problem, but, but, you interview to play a good, interview can play bad Haha, everything has a common, A lot of things are mutually reinforcing.

The first is the HR issue
1 What are your career plans and do those efforts for this goal
2 What are your traits and weaknesses?
3 What is your role in the team?
4 What is the reason for leaving?
5 What do you think about overtime?
6 something that you have done at work that makes sense.
7 What other technologies do you pay attention to when you work outside your job?
8 What are the factors that you value when you look for a job (this problem is more thorough, I think if the HR is very responsible, the ability is strong, or the company is more important to this position)
And finally-what do you want to ask me?

Technical aspects
0.1 high-traffic concurrency-efficient Solutions
1 MySQL How to divide the Library sub-table
Personally, the current mastery of the difficulty of 3 stars. Requires a lot of basic knowledge that may not be used in your actual operation, but the theory you have to be able to say

2 PHP Design pattern – it's important – Say what you know about design patterns and usage scenarios and benefits
I think it's a transitional standard between intermediate and beginner programs, and even between high-level and intermediate programs, purely from a programming language perspective, Can be involved in the design mode should be a little bit of scale of the project. Of course, you may not normally notice it, but it's actually in use. You may not be able to say or understand the depth of the interview can become your minus, and is very important, because you are a programmer, not a DBA or operation, so the knowledge of the program you should still master more.

3 Database Tens data manipulation and table design
4 Understanding of Indexes
5 memcache understanding and underlying-similar caches like this are almost required, extending the distinction between Memchache and redis and practical scenarios
6 usage scenarios for Redis
7 understanding of queues and stacks and practical scenarios
8 PHP Multi-process
Regular Expressions (50% of the examinations opportunity, some interviewers would rather value, because this is the basis, just like the action string)
What is object-oriented, examinations chance 50%. Straightforward encapsulation inheritance polymorphic Direct elimination of the difference between the
Apache and Nginx, and why now most of the choice nginx
MySQL optimization method, asked very general, as long as you normally use the level of MySQL and design depth, examinations chance 10,000%, Just look at the question of the exam. Depth
Linux usage requires that you do not want to cache and MySQL so deep, but also basic at least scheduled tasks, simple shell scripts and basic commands you must return
session issues (such as session sharing, Session and Cookie relationship, this is required, almost 100%)
What is the nature of the thing and the application scenario
9 The operation of the string and array, must test, did not skip these two problems
above are general, but are required to test, the following is a written test
10 The difference between int=intval (int) and int=int+0
Intval is to force a variable to be converted to an integral type. The + operation of the variable can only be the sum of the operation operations, so if int is an integer, it can be normal operation, if the non-numeric type, the result is 011arr1= array (1,2,3,4,5);
Arr2=array (6,7,8,9,10,11); Vardump (ARR1+ARR2); What is the result of 12arr1 = Array (1,2,3,4,5);
foreach (arr1 as &item) {echo item;} item = 3;
foreach (Arr1asitem) {echo $item;}
What will be output twice

PHP's operation on large files and the operation of Linux on large files-examinations is very likely, especially the former
14 write a function that can traverse all files and sub-files in the folder this is almost necessary to test the structure of the
15 table Tab_log, ID,UID,TM; How to implement a query a day in which there are three records above the UID
Select Uid,count (*) as Num from Tab_log GROUP BY TM have num > 3
error_reporting ("e_a LL ") and Ini_set (" Display_errors "," on ") the difference?
The latter is more privileged than the former, and the latter is off, even if the former is E-all.
The difference between echo print Print_r
The biggest difference between Echo and print is that the former is a PHP built-in statement that has no return value and cannot be used in an expression such as a ternary operator. The latter belongs to the function, and printing correctly returns true error returns false. 1?print (1): 6; Correct, but using echo is wrong.
-Continuous Update
Finally, the ultimate problem, talk about your opposite to the object of understanding, hehe
Overall, the interview is more important than the written test (if the interviewer is not busy, you may not have the interview if the written question is not good), as long as you do the interview to play well everything is not a problem, but , but, you interview to play a good, interview can play a bad thing haha, all things have common, a lot of things are complementary.

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.