Re: Changing var value from int to string

From: Date: Sun, 18 Nov 2001 12:57:15 +0000
Subject: Re: Changing var value from int to string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-75033@lists.php.net to get a copy of this message
Hi Nope, this is fine [not necessarily good programming practise mind, but thats a different story...] -- Shane On Sunday 18 Nov 2001 6:13 am, phantom wrote: > Is there any inherit danger or taboos against changing the value of a > variable from an integer to a string? > > example: > > if ($Msg==1) $Msg = "You have foobar'ed your entire server."; > > Thanks.

« previous php.general (#75033) next »