2 ms·
Maybe also normalise error handling? Some functions simply return null on an error and some throw.
by k__ 9y ago
Maybe also normalise error handling?
Some functions simply return null on an error and some throw.
- nkkollaw 9y agoThat's not a bad idea, but I wonder if deviating too much from PHP (besides naming) would create confusion. If you see..: htmlenties() versus: \PHP\html_entities() ...you assume \PHP\html_entities() works the same as `htmlenties()`