JavaScript logical operators→
If you're accustomed to PHP's logical operators, JavaScript's implementation can be confusing.
If you're accustomed to PHP's logical operators, JavaScript's implementation can be confusing.
You can generate a pseudo-random boolean in JavaScript or PHP using a single line of code. No, you do not need to install yet another idiotic JavaScript package.
Many PHP module names include the PHP version. This makes it difficult to write portable bash scripts. Here's a fix.
The Composer documentation provides instructions for using a private GitHub or BitBucket repository as a dependency. This note covers GitLab.
A quick and easy way to ensure your tests don't have any unwanted side-effects is to randomise the order in which they run. PHPUnit makes this easy.
A monthly round-up of blog posts, projects, and internet oddments.