PHP Equivalent of the unix command

Hi Can any one please let me know which will be the PHP equivalent of the below Unix statement,

curl  -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H "X-JaskUid:111" -X POST "www.google.com/res"'

Thanks in advance!!