PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

apd_clunk

(PECL apd 0.2-0.4)

apd_clunkThrow a warning and a callstack

Description

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

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

Parameters

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

Return Values

No value is returned.

Examples

Example #1 apd_clunk() example

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

See Also

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

PHP Manual