Re: [PHP] Changing var value from int to string

2001-11-18 Thread Shane Wright


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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Changing var value from int to string

2001-11-17 Thread phantom

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.




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]