4 ms·
Give me a sane way to remember when to add an underscore and when not to add an underscore after str: http://php.net/ref.strings http://php.net/ref.strings I
by oneweekwonder 12y ago
Give me a sane way to remember when to add an underscore and when not to add an underscore after str:
http://php.net/ref.strings http://php.net/ref.strings
I wonder why they don't deprecate the str_* functions and create "normal" str{funcname} functions, for better consistency.
- ygra 12y agostr without underscore is for functions that exist in C. They appear with the same name in PHP.
- oneweekwonder 12y agoAm I missing strpos in C[1]? [1]: https://en.wikipedia.org/wiki/C_string_handling#Functions https://en.wikipedia.org/wiki/C_string_handling#Functions
- toddan 12y agoAnd this is a reason to pick on people who use php?
- crxgames 12y agoBut it's so hip to do!
- oneweekwonder 12y agoI did not pick on him or anybody else, I mentioned something that bothers me.