APD 函数
PHP Manual

apd_croak

(PECL apd 0.2-0.4)

apd_croakThrow an error, a callstack and then exit

说明

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

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

参数

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

返回值

没有返回值。

范例

Example #1 apd_croak() example

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

参见


APD 函数
PHP Manual