Find task failed with .php files

I have assigned task related find but after the completed submission task failed, all requested files copied correctly but not sure why failed below command used. Any reason to failed.

[steve@stapp02 beta]$ sudo find /var/www/html/beta/ -iname ‘*.php’ -exec cp {} /beta/ ;

Hi @slrs.prasadb,

You have to add \ at the end of the command so will be:
sudo find /var/www/html/beta/ -iname '*.php' -exec cp {} /beta/ \;