integer is a string ?

From: Date: Sun, 23 Jul 2000 11:41:31 +0000
Subject: integer is a string ?
Groups: php.general 
Request: Send a blank email to php-general+get-7761@lists.php.net to get a copy of this message
Hi all, When i post an integer to a PHP-script, the script seems to recognize it as a string. (example below) How do i make the script recognize it as an integer values ??? For example: http://www.firststep.be/scripts_jonas/inttest.php?foo=5 returns "string" The source-code of the script is just: <? $ev = gettype ($foo); echo $ev; ?> Kind regards and TNX, dIVUS

« previous php.general (#7761) next »