Add many missing closing PHP tags to tests Closes GH-5958
Fix #78969 Make PASSWORD_DEFAULT match PASSWORD_BCRYPT instead of being null It was an unintentional BC break.