Learn about difference between exit and die in php, we have the largest and most updated difference between exit and die in php information on alibabacloud.com
What is the difference between die and exit in php? The two seem to both terminate the program execution, and it seems that there is no difference indeed. some people say that they can take a bubble before they die, but they will not. after reading
Difference between exit () and die () in PHP
This article briefly analyzes the differences between exit and die commonly used in php. If you need them, you can take a look.
First, consider the following question:
What will the following code display
This article briefly analyzes the use of PHP in the exit and die differences, there is a need for friends to see.
First, consider a question:
What does the following code show to the page?
There was a time when I thought the page would show 123
[Split] the difference between exit () and die 1. what are the essential differences between exit () and die? 2. which one do you often use during coding or project debugging? 3. is exit () or die used for convenience or other reasons? Let's talk
: This article mainly introduces the differences between exit and die in PHP. For more information about PHP tutorials, see. First think about a question:
What will the following code display to the page?
For a while, I always thought that the
This article briefly analyzes the differences between the exit and die that are often used in PHP, and a friend who needs to see it.First, consider a question:What does the following code show to the page?There was a time I always thought the page
Online search die and exit two functions, most of the "standard answer" is that die is to exit and release memory, exit is exited but does not release memory. This explanation is clearly wrong, as the PHP manual has said, "Die-equivalent to exit."
First think about a question:
What will the following code display to the page?
The Code is as follows:
Die (123 ); ?>
For a while, I always thought that the page would display 123, but the practice result
Online search die and exit two functions of the difference, most of the "standard answer" is that die is to exit and release memory, exit is exited but does not release memory.
This explanation is clearly wrong, as the PHP manual has said,
Consider a question first:
What does the following code show to the page?
The code is as follows
Die (123);?>
There was a time when I thought the page would show 123, but the result told me that the answer
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.