note 33870 deleted from function.sprintf by felipe

From: Date: Fri, 18 Apr 2008 22:51:05 +0000
Subject: note 33870 deleted from function.sprintf by felipe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-138525@lists.php.net to get a copy of this message
Note Submitter: martin at schwedes dot com ---- decision within sprintf: $a = "today"; $b = sprintf('This is %s', $a=='today' ? 'today':'not today'); echo $b; // result: This is today

« previous php.notes (#138525) next »