Elegantly exploding and trimming values of an array
A little piece of code I write often enough to mention. Pretty elegant IMO ? pic.twitter.com/F56izKw3hW
— Caleb Porzio (@calebporzio) October 9, 2019
Read more [twitter.com]
Posts tagged with snippet
A little piece of code I write often enough to mention. Pretty elegant IMO ? pic.twitter.com/F56izKw3hW
— Caleb Porzio (@calebporzio) October 9, 2019
Read more [twitter.com]
On Twitter I see a bunch of people regularly tweeting very nice code snippets. Instead of only retweeting those, I'm going to add them to my blog. I'll tag them with tweet.
Here's the first one:
request()->query() is a life saver when dealing with tables that store "sorts" and "filters" in a query string. pic.twitter.com/84P6xvTvSz
— Caleb Porzio (@calebporzio) June 21, 2017
Read more [twitter.com]