@wp-playground/clientInterfacesPHPResponseDataSur cette pagePHPResponseData Implemented byPHPResponseIndex PropertiesbyteserrorsexitCodeheadershttpStatusCodeProperties readonlybytesbytes: ArrayBufferResponse body. Contains the output from echo, print, inline HTML etc.readonlyerrorserrors: stringStderr contents, if any.readonlyexitCodeexitCode: numberThe exit code of the script. 0 is a success, while 1 and 2 indicate an error.readonlyheadersheaders: Record<string, string[]>Response headers.readonlyhttpStatusCodehttpStatusCode: numberResponse HTTP status code, e.g. 200.
Response body. Contains the output from
echo
,print
, inline HTML etc.