JavaScript Editor Javascript debugger      Website design 


apd_croak

Throw an error, a callstack and then exit (PECL apd:0.2-0.4)
void apd_croak ( string warning [, string delimiter] )

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 />.

Return Values

No value is returned.

Examples

Example 221. apd_croak() example

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


See Also
apd_clunk()