> -----Original Message-----
> From: Jason [mailto:networkad...@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




Mike Ford,
Electronic Information Developer, Libraries and Learning Innovation,  
Leeds Metropolitan University, C507 City Campus, 
Woodhouse Lane, LEEDS,  LS1 3HE,  United Kingdom 
Email: m.f...@leedsmet.ac.uk 
Tel: +44 113 812 4730

To view the terms under which this email is distributed, please go to 

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to