downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

apd_dump_function_table> <apd_continue
[edit] Last updated: Fri, 14 Jun 2013

view this page in

apd_croak

(PECL apd 0.2-0.4)

apd_croakThrow an error, a callstack and then exit

Description

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 #1 apd_croak() example

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

See Also



add a note add a note User Contributed Notes apd_croak - [1 notes]