apd_croak

Throw an error, a callstack and then exit

Beschreibung

void apd_croak ( string $warning [, string $delimiter = "<BR />" ] )

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

Parameter-Liste

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Beispiele

Beispiel #1 apd_croak example

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

Siehe auch

  • apd_clunk