Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: die - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

eval" width="11" height="7"/> <defined
Last updated: Thu, 31 May 2007

view this page in

die

(PHP 4, PHP 5)

die — exit() と同等

説明

この言語構造は、exit() と同等です。



eval" width="11" height="7"/> <defined
Last updated: Thu, 31 May 2007
 
add a note add a note User Contributed Notes
die
jbailey at raspberryginger dot com
21-Jan-2007 02:33
die doesn't prevent destructors from being run, so the script doesn't exit immediately, it still goes through cleanup routines.
29-Sep-2004 01:36
Perhaps the Coldfusion query below can be answered as follows:
---------
(From the "User Contributed Notes" for the PHP construct "exit")

nospam at mydomain dot com
27-Sep-2004 10:12
Using return instead of exit is to prefer when you want the script that you have included inside another script to die but continue to execute the main script.
// Radcliff
---------
matthias dot schniedermeyer at telefonica dot de
14-Oct-2003 11:29
To get a perl-like die you can/should append this snipped
 . " File: " . __FILE__ . " on line: " . __LINE__
e.g.
die ("Error" . " File: " . __FILE__ . " on line: " . __LINE__);

eval" width="11" height="7"/> <defined
Last updated: Thu, 31 May 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites