{ PHP snippets }

Jason McCreary

Jason McCreary @gonedark

A few ways to clean up the conditional code that forms most of your codebase. From simple to nested to spotting unnecessary conditions. 👍 https://t.co/qGVaDl3TKt

Laravel Shots

Laravel Shots @LaravelShots

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

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.