(PECL apd 0.2-0.4)
apd_croak — Throw an error, a callstack and then exit
$warning
[, string $delimiter
= "<BR />"
] ) : void
Behaves like perl's Carp::croak
. Throw an error, a callstack and then
exit.
warning
The warning to throw.
delimiter
The delimiter. Default to <BR />
.
No value is returned.
Example #1 apd_croak() example
<?php
apd_croak("Some Warning","<P>");
?>