Hi,

Am Samstag, den 26.01.2008, 16:23 -0500 schrieb Robert Cummings:
[...]
> This doesn't work how you think... if $_GET['foo'] is set then the
> return value is true and not the value of $_GET['foo'].

Hm, check what happens:

$b = array(false, false);
var_dump($b[0] ?: "sdf");

This will return "sdf", not bool(false).

cu, Lars
-- 
  »Aber das Verhältnis von Leben und Produktion, das jenes
   real herabsetzt zur ephemeren Erscheinung von dieser, ist
   vollendet widersinnig. Mittel und Zweck werden vertauscht.«
       -- Theodor W. Adorno, »Minima Moralia«, Die traurige Wissenschaft

Lars Strojny
Nießenstr. 36
51103 Cologne
Jabber/Mail: [EMAIL PROTECTED]
Weblog: http://usrportage.de

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to