a php class about identifying code