Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ajross
· 11y ago · 0 comments
Not sure because I didn't read the parse_integer patches. But the converse is a problem. isdigit("-2") returns false but the value will parse correctly.
Comments
[–]
interdrift
11y ago
parse_integer takes a string not a char, didn't look at the implementation either but it makes sense to check for the whole string doesnt it)
[–]
monochromatic
11y ago
How is that a problem though?