Change to php patterns.