Re: Equivilant of exit;
| From: | Jeff Lewis | Date: | Fri, 16 Nov 2001 23:47:15 +0000 |
| Subject: | Re: Equivilant of exit; | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-74953@lists.php.net to get a copy of this message | ||
Oh geez, do I ever feel dumb...I can NOT believe I overlooked that in the
manual :( My apologies to the list.
Jeff
----- Original Message -----
From: "Brian Clark" <brianj@fusionwerks.com>
To: "PHP is not a drug." <php-general@lists.php.net>
Sent: Friday, November 16, 2001 6:41 PM
Subject: Re: [PHP] Equivilant of exit;
> Hi Jeff,
>
> @ 6:26:28 PM on 11/16/2001, Jeff Lewis wrote:
>
> > Is there an equivilant to Perls exit function? I am calling a fatal
error
> > function in PHP and I want it to end the script, just want to end the
whole
> > program if this is called.
>
> Maybe I'm missing something, but.. :-) PHP has exit() and die(), as
> well. There are also built-in constants like __FILE__ and __LINE__
>
> http://www.php.net/exit
> http://www.php.net/die
> http://www.php.net/constants
>
> --
> -Brian Clark | PGP is spoken here: 0xE4D0C7C8
> Please, DO NOT carbon copy me on list replies.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>