Re: Security questions

Home 2019 Forums Privacy Security questions Re: Security questions

February 16, 2017 at 10:07 am admin_lifexite

No. PHP does what is called automatic type conversion.

In your example

$int = (int)123;
the “(int)” just assures that at that exact moment 123 will be handled as an int.

I think your best bet would be to use a class to provide some sort of type safety.