We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50ab6c6 commit 3dd256aCopy full SHA for 3dd256a
ext/standard/url.c
@@ -220,14 +220,14 @@ PHPAPI php_url *php_url_parse_ex(char const *str, int length)
220
221
if (query && fragment) {
222
if (query > fragment) {
223
- p = e = fragment;
+ e = fragment;
224
} else {
225
- p = e = query;
+ e = query;
226
}
227
} else if (query) {
228
229
} else if (fragment) {
230
231
232
233
e = p;
0 commit comments