Common utilities for PHP programs