Running a script from the PHP CLI, I am echoing the following line:
echo "
Server {$res['proxy']} | $response | $httpCode | OK";
However this is what is returned:
| 4.003182888031 | 200 | OK
Its missing out the text before the $res['proxy'] var and the contents of the var (which should be an IP). Ironically though it is still doing the new lines!!
I've tried print instead of echo, ".$res['proxy']."
instead of curly braces, single quotes, changing the word 'server', removing the | pipes.
Whatever it is is making a fool out of me! What's going on :(