add php test and memory test