{ PHP snippets }

Laravel Shots

Laravel Shots @LaravelShots

TIL : "break" & "continue" accept arguments too. while (true) { while (true) { break 2; // break both loops } } echo "Hey";

PHP
J.T. Grimes🍸

J.T. Grimes🍸 @JT_Grimes

A friendly reminder for PHP devs: putting composer install in your post-checkout hooks will save you from wasting time on stupid problems.

PHP
Jonathan Reinink

Jonathan Reinink @reinink

✅ Database design tip: Consider using date fields instead of booleans. It works the same way, and now you know when the TRUE state happened. https://t.co/U0flv455vb

PHP