GoLang apd_croak

request it (366)
GoLang replacement for PHP's apd_croak [edit | history]



Do you know a GoLang replacement for PHP's apd_croak? Write it!

PHP apd_croak

PHP original manual for apd_croak [ show | php.net ]

apd_croak

(PECL apd 0.2-0.4)

apd_croakThrow an error, a callstack and then exit

Description

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

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

Parameters

warning

The warning to throw.

delimiter

The delimiter. Default to <BR />.

Return Values

No value is returned.

Examples

Example #1 apd_croak() example

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

See Also