note 8000 added to die

From: Date: Wed, 23 Aug 2000 20:21:39 +0000
Subject: note 8000 added to die
Groups: php.notes 
Request: Send a blank email to php-notes+get-3035@lists.php.net to get a copy of this message
There is no explanation in here about why the whole construct "<somefunction> or die(<some message>) works. A OR B is a boolean expression, die is void, so why does the construct work? I know this is common in Perl too. http://www.php.net/manual/function.die.php

« previous php.notes (#3035) next »