RE: [PHP] Re: "My truth comes out" [1]

From: Date: Fri, 22 Oct 2010 09:10:21 +0000
Subject: RE: [PHP] Re: "My truth comes out" [1]
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-308996@lists.php.net to get a copy of this message
> -----Original Message----- > From: Jason [mailto:networkadmin@emarket2.com] > Sent: 21 October 2010 11:45 > > What about something simple and readable like: > > ($string=="true") ? true : false; ... and wasteful. The above gives exactly the same result as ($string=="true") Cheers! Mike -- Mike Ford, Electronic Information Developer, Libraries and Learning Innovation, Leeds Metropolitan University, C507 City Campus, Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom Email: m.ford@leedsmet.ac.uk Tel: +44 113 812 4730 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm

« previous php.general (#308996) next »