APD_CROAK(3) 1 APD_CROAK(3)
apd_croak - Throw an error, a callstack and then exit
SYNOPSIS
void apd_croak (string $warning, [string $delimiter = "<BR />"])
DESCRIPTION
Behaves like perl's Carp::croak. Throw an error, a callstack and then exit.
PARAMETERS
o $warning
- The warning to throw.
o $delimiter
- The delimiter. Default to <BR />.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
apd_croak(3) example
<?php
apd_croak("Some Warning","<P>");
?>
SEE ALSO
apd_clunk(3).
PHP Documentation Group APD_CROAK(3)