So, as far as i understand, php 5.whatever we're currently on supports type hinting in classes when you're dealing either with arrays or objects. But, it doesn't allow us to declare variable types of methods which accept strings, ints, booleans, and these basic types.
I read somewhere that there is a debate over whether or not they should include this in php 6. What do you all think?
Personally, I think it would be nice to have the option of writing classes this way just because I think it makes the code more self documenting and easier to deal with for future developers or my future self who might have no idea what i was doing when i wrote something.