Forum und email

apd_croak

(PECL apd:0.2-0.4)

apd_croak — Throw an error, a callstack and then exit

Descrierea

void apd_croak ( string $warning [, string $delimiter ] )

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

Parametri

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

Valorile întroarse

Nu este întoarsă nici o valoare.

Exemple

Example#1 apd_croak() example

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

Vedeţi de asemenea