PHPnews.io

Overview for 'roballen'

Dorothy Hodgkin

Written by Rob Allen / Original link on Oct. 13, 2020

Dorothy Hodgkin by J.S. Lewinski, 1697.© estate of J.S. Lewinski / National Portrait Gallery, London To celebrate Ada Lovelace Day today, I want to highlight Dorothy Hodgkin, a British chemist who made amazing discoveries with X-ray crystallography of molecules. In particular, she confirmed the str…




Recursive PHP lint

Written by Rob Allen / Original link on Aug. 13, 2020

There are many scripts that recursively execute php -l on a set of files or directories. This is mine: #!/usr/bin/env bash set -o nounset # Recursively call `php -l` over the specified directories/files if [ -z "$1" ] ; then printf 'Usage: %s ...\n' "$(basename "$0")" exit 1 fi ERROR=false SAVEIFS=…