note 39738 added to function.die

From: Date: Mon, 09 Feb 2004 10:07:14 +0000
Subject: note 39738 added to function.die
Groups: php.notes 
Request: Send a blank email to php-notes+get-64871@lists.php.net to get a copy of this message
A dot within the brackets after die will cause an error: die($a.$b); won't work! Instead you can either put print($a); die($b); or $c=$a.$b; die($c); The same thing for print($a.$b); die($c); instead of die($a.$b.$c); etc. I don't know why, but it's the sad truth. ---- Manual Page -- http://www.php.net/manual/en/function.die.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+39738 Delete -- http://master.php.net/manage/user-notes.php?action=delete+39738&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+39738&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#64871) next »