Atomic storage for PHP