GoLang die

is this article helpful? yes | no
GoLang replacement for PHP's die [edit | history]
func Die(status int) {
	os.Exit(status)
}

PHP die

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

die

(PHP 4, PHP 5, PHP 7)

dieEquivalent to exit

Description

This language construct is equivalent to exit().