note 51583 deleted from language.operators.arithmetic by hholzgra

From: Date: Thu, 02 Aug 2012 15:04:06 +0000
Subject: note 51583 deleted from language.operators.arithmetic by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189801@lists.php.net to get a copy of this message
Note Submitter: rz at daimi dot au dot dk ---- This is a really simple observation. There is no integer division operator. But if you need to divide by a power of 2, you can use the right-shift operator instead. 257/32 gives 8.03125, but 257>>5 gives 8.

« previous php.notes (#189801) next »