Artificial Intelligence System in PHP