study php, write some test example