The first two options that you mention are not valid according to the spec. There is a decent discussion ongoing on the PHP-FIG mailing list and I would like to ask you to read that thread and provide your input where necessary