php hook test successful