Hallo Kelvin,
Was ich möchte ist folgendes:
$loginResult = (split(": ", $getContent[1])[1] == "OK") ? true : false;
In PHP muss m.E. noch ein $() drumrum, also: $(split(": ", $getContent[1]))[1], damit der Ausdruck mit dem Split als Variable erkannt wird. Ist ungetestet.
ciao
romy