International PHP Conference 2019 - Spring Edition

apd_clunk

(PECL apd 0.2-0.4)

apd_clunkThrow a warning and a callstack

说明

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

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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top