First PHP commit. Actually just check if there is a chain to hash