4 ms·
I've been working with PHP for the last couple months or so for the first time in over a decade. I can't say I've enjoyed it. Feels very tedious always having t
by pastureofplenty 3y ago
I've been working with PHP for the last couple months or so for the first time in over a decade. I can't say I've enjoyed it. Feels very tedious always having to look up, say, whether the needle comes first or the haystack in a list of arguments. But it runs pretty darn fast, I'll give it that.
- asddubs 3y agoIt's one way for string functions and the other way for array functions. I have a little post-it on my monitor for it.
- djbusby 3y agoMany editors have tools that show language functions and their parameters as you type, so you don't have to subject yourself to that tedium if you don't want.
- calvinmorrison 3y agoOh agree as a daily php writer. The core libs are all over the place for arguments. Doing something that's so elegant in perl results in a mishmash of weird array rules, too helpful built-ins that act weird like isset