update : 2015.11.03
php.shukuma.com

검색:
 
 
Throw an error, a callstack and then exit

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>");
?>

참고