converting int to char

From: Date: Sat, 19 May 2001 19:46:30 +0000
Subject: converting int to char
Groups: php.general 
Request: Send a blank email to php-general+get-53550@lists.php.net to get a copy of this message
how do I convert and integer value to its ASCII correspondent? in C I would go something like: int i = 90; char c; c = i + '0'; // now c would be 'Z' in PHP I'm simply clueless since there's no (char) type... ____________________________ . Christian Dechery (lemming) . http://www.tanamesa.com.br . Gaita-L Owner / Web Developer

« previous php.general (#53550) next »