daily_web_dev Profile Banner
Daily Web Dev 🐘 Profile
Daily Web Dev 🐘

@daily_web_dev

Followers
1K
Following
774
Media
1K
Statuses
2K

17+ yrs full-time in web-dev. Mostly write about PHP, JavaScript, CSS, Sass, SQL, Unix shell, Laravel, Vue, Tailwind, PhpStorm, Vim. Maker of BEAUBUS Patterns.

Joined August 2015
Don't wanna be here? Send us removal request.
@daily_web_dev
Daily Web Dev 🐘
12 hours
RT @daily_web_dev: In PHP, function names are case-insensitive
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
2 days
RT @daily_web_dev: Need to find a Redis key but don't know the full name?
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
2 days
RT @daily_web_dev: How to output red text to the browser console using console.log in #javascript
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
3 days
RT @daily_web_dev: array_first() and array_last() in PHP 8.5
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
4 days
RT @daily_web_dev: How to set exact background color on Vuetify <VChip>
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
5 days
RT @daily_web_dev: Debug a site’s SSL cert (chain, validity, errors) with OpenSSL:
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
6 days
RT @daily_web_dev: A quick way to inspect the readable text inside a PDF without opening it. It extracts printable characters and lets you….
0
1
0
@daily_web_dev
Daily Web Dev 🐘
7 days
RT @daily_web_dev: Want to see the real SQL your Laravel migration runs? Add DB::listen() with logger() to your migration. .
0
1
0
@daily_web_dev
Daily Web Dev 🐘
9 days
In PHP, an uninitialized variable isn’t the same as skipping an argument. Pass it, and you get NULL instead of the function’s default value.
Tweet media one
0
0
0
@daily_web_dev
Daily Web Dev 🐘
10 days
In PHP passing null isn’t the same as skipping the argument. Default values only apply when nothing is passed at all.
Tweet media one
0
0
0
@daily_web_dev
Daily Web Dev 🐘
10 days
RT @daily_web_dev: PHP has NAN β€” and just like in JavaScript, it's not equal to itself.
Tweet media one
0
2
0
@daily_web_dev
Daily Web Dev 🐘
12 days
macOS can be β€œfun” sometimes: an unclosable modal showing the same file three times while I was deleting an item from the desktop
Tweet media one
0
0
1
@daily_web_dev
Daily Web Dev 🐘
12 days
RT @daily_web_dev: Seeing image jitter in Firefox with an `object-fit: cover` image? Try the following:
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
13 days
RT @daily_web_dev: NAN is truthy in PHP but falsy in JavaScript
Tweet media one
0
2
0
@daily_web_dev
Daily Web Dev 🐘
14 days
In PHP you can quickly cast an entire array of integers to strings with a one-liner:
Tweet media one
0
0
1
@daily_web_dev
Daily Web Dev 🐘
16 days
Good to know: PhpStorm has a Commit tool window that shows all the changes, like `git diff` does.
Tweet media one
0
0
1
@daily_web_dev
Daily Web Dev 🐘
17 days
In Laravel, calling `random()` on a collection with a quantity greater than the number of available items will throw an InvalidArgumentException.
Tweet media one
0
0
1
@daily_web_dev
Daily Web Dev 🐘
17 days
RT @daily_web_dev: Two main ways to destructure arrays in PHP
Tweet media one
0
1
0
@daily_web_dev
Daily Web Dev 🐘
19 days
Celebrating X years on X! #MyXAnniversary
Tweet media one
0
1
2
@daily_web_dev
Daily Web Dev 🐘
19 days
RT @daily_web_dev: The JSON_UNESCAPED_SLASHES flag in PHP's json_encode() function prevents slashes (/) from being escaped in the resulting….
0
1
0