I have added this code to my webpage with .php extension
Apart from a few exceptions, the order of childs in the head element doesn’t matter.
That said, consumers like search engines may of course do what they want (e.g., ignoring every third element, just for the fun of it), but discussing the possible behaviour of undesignated consumers is off-topic here.
The exceptions:
meta-charset should ideally be the first child (i.e., the element must be within the first 1024 bytes of the document, and at best before any non-ASCII characters)
base should ideally be the second child (i.e., it must come before any other element in head
that has a URI as attribute value)
those link and script elements that the user agents wants to process are by default processed in the order they appear
the order of link
-stylesheet
and style elements can play a role for applying CSS
the first link
-alternate with a type
of application/rss+xml
or application/atom+xml
is "the default syndication feed for the purposes of feed autodiscovery"