In combination with ajax or javascript, topic is not about chat bots, then about automation bots . Php today have problems , a lot other languages are interactive with better perfomanse,PHP making some changes, but i think future and for classic web applications are problematic, only wordpress keep it alive .Ok. But forsure PHP can build online real-time chat room isn't it?..
PHP 7 is a lot better now imo.In combination with ajax or javascript, topic is not about chat bots, then about automation bots . Php today have problems , a lot other languages are interactive with better perfomanse,PHP making some changes, but i think future and for classic web applications are problematic, only wordpress keep it alive .
I confirm!PHP can be used for anything.
It's not ideal for bots but it's possible to use it.
Python is easy way to build botand anyway if you're well versed in other programming languages using python to create bots wouldn't be that hard for you.
You are very right, Php is for web aplications, and for API perfect, for statistics and admin, about cron jobs, cron simulate simple click and i not see there some mistery or big attention, just set to click .The best would be Python.
PHP is perfect for API calls, so yes you can do PHP bots if you play your CRON jobs cards well.