4 ms·
PHP: https://php.net/manual/function.str-contains https://php.net/manual/function.str-contains
by svnpenn 4y ago
PHP:
https://php.net/manual/function.str-contains https://php.net/manual/function.str-contains
- llimos 4y agoYes, and the idea of using php.net/<function name> as a lookup (which has been the case for decades) makes it so painless
- captn3m0 4y agoPHP does library documentation so much better than other languages. Compare: https://www.php.net/manual/en/function.ceil https://www.php.net/manual/en/function.ceil to https://docs.python.org/3/library/math.html#math.ceil https://docs.python.org/3/library/math.html#math.ceil for eg. - Clear description, signature, types for parameters, return values. - Examples, which will often cover edge cases. - Separate page for each method - A clear changelog section to document changes across versions. Python on the other hand, gets a single sentence.