- Output for 7.1.25 - 7.1.28, 7.2.0 - 7.2.18, 7.3.0 - 7.3.5
- Parse error: syntax error, unexpected 'public' (T_PUBLIC), expecting end of file in /in/jr0LF on line 5
Process exited with code 255.
<?php
/* [...] */
public function findBody(string $curlRawResponse) : ?string {
$chunks = explode("\r\n\r\n", $curlRawResponse)
foreach($chunks as $chunk) {
if(strpos($chunk, "HTTP/1.") !== FALSE) {
continue;
}
else {
return $chunk;
}
}
return null;
}
/* [...] */