Re: ifsetor like expression in php6

From: Date: Sat, 26 Jan 2008 21:13:36 +0000
Subject: Re: ifsetor like expression in php6
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-34945@lists.php.net to get a copy of this message
Hi, Am Samstag, den 26.01.2008, 12:17 -0500 schrieb Sam Barrow: > I don't think throwing a E_NOTICE is appropriate. The isset() construct > doesn't throw an E_NOTICE, this shouldn't either. As far as I understand it is just an extension to the already present tertiary operator and therefore the ifsetor would be isset($_GET['foo']) ?: 'bar'. I don't understand why that sugar should act anything different and not trigger an E_NOTICE. 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: lars@strojny.net Weblog: http://usrportage.de

Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
« previous php.internals (#34945) next »