(PECL apd 0.2-0.4)
apd_croak — Throw an error, a callstack and then exit
$warning
[, string $delimiter = "<BR />"
] ) : voidBehaves like perl's Carp::croak. Throw an error, a callstack and then exit.
warningThe warning to throw.
delimiterThe delimiter. Default to <BR />.
Não há valor retornado.
Exemplo #1 apd_croak() example
<?php
apd_croak("Some Warning","<P>");
?>