Close PHP tags in tests Closes GH-12422
Fix GH-11876: ini_parse_quantity() accepts invalid quantities Closes GH-11910