Testing php hook