PHP is mostly a web-based technology as far as I know.
AI work is typically done in other languages (e.g., Lisp). But that doesn't mean you can't port the ideas to something else like PHP.
But Google found this - first hit on "PHP artificial intelligence".