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 017d1df commit 1201d3fCopy full SHA for 1201d3f
ext/standard/url.c
@@ -415,7 +415,7 @@ PHP_FUNCTION(parse_url)
415
static unsigned int php_htoi_single(unsigned char x)
416
{
417
ZEND_ASSERT((x >= 'a' && x <= 'f') || (x >= 'A' && x <= 'F') || (x >= '0' && x <= '9'));
418
- return 9 * (x >> 6) + (x & 017);
+ return 9 * (x >> 6) + (x & 0xf);
419
}
420
421
/* {{{ php_htoi */
0 commit comments