Is this "typecast" safe?

From: Date: Wed, 14 Feb 2001 17:02:54 +0000
Subject: Is this "typecast" safe?
Groups: php.general 
Request: Send a blank email to php-general+get-39675@lists.php.net to get a copy of this message
I'm a little unsure of how variables are cast around in PHP, since it seems like VisualBasic where I don't declare any types, the compiler just figures it out. Would something like this be safe?.... $info = fread($file, filesize("blah"); $info = explode("\n", $info); echo $info[0]; .... - John Vanderbeck - Admin, GameDesign

« previous php.general (#39675) next »