apd_croak

(PECL apd 0.2-0.4)
Throw an error, a callstack and then exit
void apd_croak ( string $warning [, string $delimiter = "<BR />" ] )

Behaves like perl's Carp::croak. Throw an error, a callstack and then exit.

Parameters:
warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

Returns:

No value is returned.

Examples:
apd_croak() example
<?php
apd_croak("Some Warning","<P>");
?>

See also:

apd_clunk() -

doc_php
2016-02-24 15:53:45
Comments
Leave a Comment

Please login to continue.