Highlights of PHP interview questions compiled by NLP. PHP Basics 1. find the value of $ a and copy the code as follows: $ ahello; $ bunset ($ B); $ bworld; echo $ a; 2. find the value of $ B and copy the code as follows: $ a1; $ x $ B $ a + PHP Basics
1. evaluate the value of $
The code is as follows:
$ A = "hello ";$ B = $;Unset ($ B );$ B = "world ";Echo $;
2. evaluate the value of $ B
The code i
Php interview question 1. use PHP to print the time format of the previous day in the format of 22:21:21 (2 points) "u % j q! S $} 0 V8 ~ 4? #?
Date ("Y-m-d H: I: s", strtotime ("-1 days "));
2. differences between echo (), print (), and print_r () (3 points)Echo is a PHP statement, print and print_r are functions, and the statement does not return values. the function can return values (even if it is not used)Print () can only print values of s
).
Loue: A thread can generate a loue object to manage the Message Queue (Message Queue) in this thread ).
Handler: You can construct a Handler object to communicate with logoff so as to push new messages to the Message Queue or receive messages sent by logoff from the Message Queue.
Message Queue: used to store messages placed by threads.
Thread: the UI thread is usually the main thread, and a Message Queue is created for the Android Startup Program.
8. Let's talk about the principles of
file.A single portal makes it easier to control permissions, allowing for security checks on HTTP requests.Cons: URLs look less beautiful, especially unfriendly to search engines.14. Print one with '. ' Linked strings, what else can be used instead of '. ' More efficient links?can be used, instead., more efficient.15. What does the hint type 200, 404, 502 mean?200 is the request succeeds, 404 is the file is not found, and 502 is the server internal error.16. Write a custom function to extract t
Php interview questions for medium-level programmers
An interview for medium-level php programmers to check whether php developers have reached the medium level, including php and javascript. if you have any need, refer to it.If you are familiar with the following content, it indicates that you have achieved a moderate level of php Development. Generally
For the PHP interview questions compiled by NLP, from basic to advanced, if you want to apply for a php job, refer. The basic PHP knowledge section is also referenced by recruitment institutions.
1. evaluate the value of $
The code is as follows:
$ A = "hello ";
$ B = $;
Unset ($ B );
$ B = "world ";
Echo $;
2. evaluate the value of $ B
The code is as follows:
$ A = 1;
$ X = $;
$ B = $ a ++;
Echo $
JSP enterprise interview questions (4)5-1. Briefly describe the relationship between Servlet and JSP.
JSP is implemented in another way. servlet is an earlier version of JSP. In JSP, it focuses more on the page performance, while in servlet, it focuses more on the implementation of business logic.
Therefore, JSP is preferred when the page display effect is complex. Or htmlCodeJSP can be selected when Ja
into the corresponding method to invoke the logical layer of the method to achieve response to the customer.There are no doget, dopost, and so on in the Servlet interface and Genericservlet, these methods are defined in HttpServlet, but all return error information, so, each time we define a servlet, Must implement these methods such as Doget or Dopost.Each custom servlet must implement the Servlet interface, and the Servlet interface defines five methods, of which the more important three meth
constructor cannot be a virtual function. To construct an object, you must know exactly what to construct. Otherwise, you cannot construct an object.The Destructor can be pure virtual functions.10. Problems Related to the copy constructor, such as deep copy, shallow copy, and temporary objects.Deep copy means that the resources and pointers are copied, while the light copy only copies the pointers and does not copy the resources.In this way, the two pointers direct to the same resource, causing
constructor cannot be a virtual function. To construct an object, you must know exactly what to construct. Otherwise, you cannot construct an object.The Destructor can be pure virtual functions.10. Problems Related to the copy constructor, such as deep copy, shallow copy, and temporary objects.Deep copy means that the resources and pointers are copied, while the light copy only copies the pointers and does not copy the resources.In this way, the two pointers direct to the same resource, causing
?A constructor cannot be a virtual function. To construct an object, you must know exactly what to construct. Otherwise, you cannot construct an object.The Destructor can be pure virtual functions.
10. Problems Related to the copy constructor, such as deep copy, shortest copy, and temporary objects.Deep copy means that the resources and pointers are copied, while the light copy only copies the pointers and does not copy the resources.In this way, the two pointers direct to the same resource, c
virtual?A constructor cannot be a virtual function. To construct an object, you must know exactly what to construct. Otherwise, you cannot construct an object.The Destructor can be pure virtual functions.
10. Problems Related to the copy constructor, such as deep copy, shortest copy, and temporary objects.Deep copy means that the resources and pointers are copied, while the light copy only copies the pointers and does not copy the resources.In this way, the two pointers direct to the same resou
" mapping APIs. These include JPA, JDO, Hibernate, and IBatis. With the ORM package, you can mix the "object/relationship" mappings with all of the spring-provided features, such as the simple declarative transaction management mentioned earlier.The AOP package for 5.Spring aop:spring provides an aspect-oriented programming implementation that conforms to the AOP Alliance specification, allowing you to defi
(tangent) programming4. How to do aspect-oriented programming The corresponding object of the function module is embedded in the original system module, and the proxy technology is used to invoke the target, and the code (object) of the slicing function is added. Therefore, when you configure a proxy object with spring, you need to have two attributes, representing both the target and the Tangent object (Advisor).19. Talk about your understanding of
1. Introduce STL and explain in detail how STL implements vector.
4. What are the differences between pointer and reference? If it is safer to pass a reference than to pass a pointer, why? Isn't it true if I use a constant pointer?
5. There are several ways to pass parameters. What method is used to implement multi-state parameter transfer, and what is the cause if no method is used;
6. Use a project to describe how to apply the design pattern.
7. Introduce your understanding of the design m
In today's MVC Framework, it seems that webwork2 has gradually become the mainstream, and the combination of webwork2 + springframework has become increasingly popular. This seems to mean that the MVC framework provided by spring is far worse than webwork2, so we use webwork2 in succession. Indeed, spring's MVC framewo
The interview seems too tight. Shouldn't it be the difference between. net3.5 and 2.0 ?? How can I always remember that three companies are talking about 3.0?
Surface 1:
Only the Personnel Department calls you to go for an interview and fill out a form to directly go to two sides, as long as there is technology, whether you are a pig or a dog.
Two sides:
Team Leader, male, manages about 10 people. If
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.