This is an extract from a WebSocket client, what does the following code line mean/do ?
$frameHead[1] = ($masked === true) ? $payloadLength + 128 : $payloadLength;
I read it this way (check below)
If Masked == True Then $frameHeadHead[1] = $payloadLength + 128 / $payloadLength
I don't understand the ($masked === true) as well as I dont understand the : $payLoadLength; (what is the : symbol for ?)
And what if Masked == False ? There is no result ?
 
     
     
     
     
    