in regard to bind_param() function of a prepared statement, it is mentioned in the php documentations that:
bind_param()
prepared statement
If you specify type