note 62744 deleted from function.substr by nlopess

From: Date: Wed, 08 Mar 2006 20:10:23 +0000
Subject: note 62744 deleted from function.substr by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-105068@lists.php.net to get a copy of this message
Note Submitter: bubblboy ---- I recently noticed: <?php $bu="ha"; $res=(substr($bu,2,1)==$bu[2])?true:false; //$res is true. ?>

« previous php.notes (#105068) next »