apd_clunk

(PECL apd 0.2-0.4)

apd_clunkThrow a warning and a callstack

˵��

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

Behaves like perl's Carp::cluck. Throw a warning and a callstack.

����

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

����ֵ

û�з���ֵ��

����

Example #1 apd_clunk() example

<?php
apd_clunk
("Some Warning""<br/>");
?>

�μ�

  • apd_croak() - Throw an error, a callstack and then exit