Should the following URLs be considered functionally equivalent?
http:
This happened when a user of the Drupal module that I wrote that parses separately and then rewrites the URI noticed that the code sometimes calls the String Parts request for modification in unexpected ways due to the way some of the basic PHP functions behave. For instance:
parse_str("a&b", $values); print http_build_query($values); a=&b=
Is this something I should worry about?
Edit, so SO ceases to complain that this question is similar to another: the question is whether it can be assumed that "no value for X" and "empty value for X" are equivalent, and not the "no value" style is syntactically correct (which she is).
source share