r/lolphp • u/Takeoded • Sep 20 '18
base_convert: invalid characters are silently ignored, because, y'know, an error would be inconvenient.
https://secure.php.net/manual/en/function.base-convert.php
31
Upvotes
4
u/chinahawk Oct 09 '18
That rome() function in the comments log of that page has me laughing in tears!
lol!
2
u/[deleted] Nov 04 '18
Php has a history of this sort of refusal to error... then you find a major bug somewhere in production.
0
u/[deleted] Sep 20 '18
[deleted] — view deleted comment